<!DOCTYPE html>
<html lang="zh-CN">
<head>
<meta charset="utf-8">
<title>移动平台第三方集成接口接口文档-ApiPost</title>
<meta http-equiv="X-UA-Compatible" content="IE=Edge">
<meta name="viewport" content="width=device-width, initial-scale=1">
<meta name="keywords" content="接口文档,ApiPost">
<meta name="description" content="本文档由可直接生成文档的API调试、管理工具ApiPost生成">
<!--自适应声明部分-->
<meta name="applicable-device" content="pc" />
<link rel="shortcut icon" href="https://console.apipost.cn/favicon.ico">
<link rel="stylesheet" type="text/css" href="https://img.cdn.apipost.cn/statics/bootstrap.css">
<link rel="stylesheet" type="text/css" href="https://img.cdn.apipost.cn/statics/build-in/font-awesome/css/font-awesome.min.css">
<link rel="stylesheet" type="text/css" href="https://img.cdn.apipost.cn/statics/build-in/bootstrap/css/document.css?v=2152">
<link rel="stylesheet" type="text/css" href="https://img.cdn.apipost.cn/statics/build-in/bootstrap/css/markdown.css?v=1326">
<link rel="stylesheet" type="text/css" href="https://img.cdn.apipost.cn/statics/build-in/nprogress-0.2.0/nprogress.css">
<link rel="stylesheet" type="text/css" href="https://console.apipost.cn/doc/statics/css/doc.css">
<script type="text/javascript" src="https://img.cdn.apipost.cn/statics/build-in/jquery/jquery.min.js"></script>
<script type="text/javascript" src="https://img.cdn.apipost.cn/statics/build-in/clipboard.js-master/clipboard.min.js"></script>
<script type="text/javascript" src="https://img.cdn.apipost.cn/statics/build-in/nprogress-0.2.0/nprogress.js"></script>
<script type="text/javascript" src="https://img.cdn.apipost.cn/statics/build-in/bootstrap/js/bootstrap.js"></script>
<script language="javascript">
	$(function(){
		let _clipboard = new ClipboardJS('.api-test-send-btn');

        _clipboard.on('success', function(e) {
            e.clearSelection();
        });

        _clipboard.on('error', function(e) {
            console.log(e);
        });

        $(document).on('click', '.api-test-send-btn', function(){
        	let _href = $(this).attr('data-href');
        	window.open(_href);
        });

		let _left_menus = [{"parent_id":"0","folder_id":"56456","name":"\u7b80\u4ecb","item":[{"apiid":325969,"name":"\u4ea7\u54c1\u7b80\u4ecb","sort":"0","folder_id":"56456"}]},{"parent_id":"0","folder_id":"37261","name":"server\u7aef\u63a5\u53e3","item":[{"parent_id":"37261","folder_id":"38152","name":"\u4ea7\u54c1\u6982\u8ff0","item":[{"apiid":230037,"name":"\u4ea7\u54c1\u6982\u8ff0","sort":"0","folder_id":"38152"},{"apiid":228793,"name":"\u5f00\u53d1\u51c6\u5907","sort":"0","folder_id":"38152"}]},{"parent_id":"37261","folder_id":"37263","name":"\u4ee4\u724c\u8eab\u4efd\u786e\u8ba4","item":[{"apiid":"224660","name":"\u83b7\u53d6\u4ee4\u724c\u8eab\u4efd\u4fe1\u606f\uff08access_token\u9a8c\u8bc1\uff09\u63a5\u53e3","sort":"0","folder_id":"37263"}]},{"parent_id":"37261","folder_id":"31577","name":"\u7ec4\u7ec7\u7ed3\u6784\u540c\u6b65","item":[{"apiid":237236,"name":"\u540c\u6b65 - \u5f00\u53d1\u51c6\u5907","sort":"0","folder_id":"31577"},{"apiid":"196142","name":"\u83b7\u53d6\u540c\u6b65\u64cd\u4f5c\u4ee4\u724c","sort":"0","folder_id":"31577"},{"apiid":"196527","name":"\u540c\u6b65\u4eba\u5458\uff08\u6dfb\u52a0\u3001\u4fee\u6539\u3001\u5220\u9664\uff09","sort":"1","folder_id":"31577"},{"apiid":"196170","name":"\u540c\u6b65\u90e8\u95e8\uff08\u6dfb\u52a0\u3001\u4fee\u6539\u3001\u5220\u9664\uff09","sort":"2","folder_id":"31577"}]},{"parent_id":"37261","folder_id":"31730","name":"\u8ba2\u9605\u53f7\u6d88\u606f\u63a8\u9001","item":[{"apiid":237274,"name":"\u8ba2\u9605\u53f7-\u5f00\u53d1\u51c6\u5907","sort":"0","folder_id":"31730"},{"apiid":"224319","name":"\u83b7\u53d6\u8ba2\u9605\u53f7\u64cd\u4f5c\u4ee4\u724c","sort":"0","folder_id":"31730"},{"apiid":"224328","name":"\u8ba2\u9605\u53f7\u6587\u4ef6\u7d20\u6750\u4e0a\u4f20","sort":"1","folder_id":"31730"},{"apiid":"224656","name":"\u8ba2\u9605\u53f7\u63a8\u9001\u56fe\u7247\u6d88\u606f","sort":"2","folder_id":"31730"},{"apiid":"224649","name":"\u8ba2\u9605\u53f7\u63a8\u9001\u6587\u672c\u6d88\u606f","sort":"3","folder_id":"31730"},{"apiid":"224642","name":"\u8ba2\u9605\u53f7\u63a8\u9001\u6587\u4ef6\u6d88\u606f","sort":"4","folder_id":"31730"},{"apiid":"224640","name":"\u8ba2\u9605\u53f7\u63a8\u9001\u5355\u56fe\u6587\u6d88\u606f","sort":"5","folder_id":"31730"},{"apiid":"226808","name":"\u8ba2\u9605\u53f7\u6d88\u606f\u72b6\u6001\uff08\u8ba1\u5212\u6d88\u606f\uff09","sort":"6","folder_id":"31730"}]},{"parent_id":"37261","folder_id":"43766","name":"\u5934\u50cf\u4e0b\u8f7d"}]},{"parent_id":"0","folder_id":"37262","name":"JSSDK\u63a5\u53e3\uff08\u8c03\u7528\u539f\u751f\u80fd\u529b\uff09","item":[{"apiid":247546,"name":"\u5f00\u53d1\u51c6\u5907\u5de5\u4f5c","sort":"0","folder_id":"37262"},{"apiid":247004,"name":"\u83b7\u53d6\u5f53\u524dwifi\u7684SSID","sort":"0","folder_id":"37262"},{"apiid":246623,"name":"\u83b7\u53d6\u5f53\u524d\u7f51\u7edc\u72b6\u6001","sort":"0","folder_id":"37262"},{"apiid":244525,"name":"\u6269\u5c55\u81ea\u5b9a\u4e49\u7cfb\u7edf\u8fd4\u56de\u952e","sort":"0","folder_id":"37262"},{"apiid":244519,"name":"\u7a97\u53e3\u6700\u5927\u5316","sort":"0","folder_id":"37262"},{"apiid":244509,"name":"\u5173\u95ed\u5f53\u524d\u663e\u793a\u7a97\u53e3","sort":"0","folder_id":"37262"},{"apiid":241904,"name":"\u4e8c\u7ef4\u7801\u8c03\u7528\u63a5\u53e3","sort":"0","folder_id":"37262"},{"apiid":241668,"name":"\u8c03\u7528\u76f8\u673a\u6216\u76f8\u518c","sort":"0","folder_id":"37262"},{"apiid":240948,"name":"\u83b7\u53d6\u7528\u6237\u5f53\u524d\u7684\u5730\u7406\u4f4d\u7f6e","sort":"0","folder_id":"37262"},{"apiid":240903,"name":"\u4e2a\u4eba\u8be6\u60c5\u754c\u9762","sort":"0","folder_id":"37262"},{"apiid":240851,"name":"\u8c03\u53d6\u804a\u5929\uff08\u6c9f\u901a\uff09\u754c\u9762","sort":"0","folder_id":"37262"},{"apiid":237610,"name":"\u4eba\u5458\u9009\u62e9\u5668","sort":"0","folder_id":"37262"},{"apiid":237596,"name":"\u66f4\u591a\u5f00\u653e\u63a5\u53e3","sort":"0","folder_id":"37262"}]}];
		let _init_apiid = 325969;

		if(window.location.hash){
			let _hash_apiid = parseInt(window.location.hash.substr(1));
			_init_apiid = _hash_apiid ? _hash_apiid : _init_apiid;
		}

		//收缩文档页面左侧菜单
        let _is_pull = 0;
        $('.document-pull-left').click(function(){
            _is_pull = !_is_pull;

            if(_is_pull){
                $(".book-summary").css("left","-300px");
                $(".book-body").css("left","0");
            }else{
                $(".book-summary").css("left","0");
                $(".book-body").css("left","300px");
            }
        });

        //文档上一页
        $('.navigation-prev').click(function(){
        	// let _length = $('.load-api-btn').length;
        	let _index = Math.max($('.load-api-btn').index($('.load-api-btn.active')) - 1, 0);
        	let _apiid = parseInt($('.load-api-btn').eq(_index).attr('data-id'));

        	_load_document(_apiid);
        });

        //文档下一页
        $('.navigation-next').click(function(){
        	let _length = $('.load-api-btn').length;
        	let _index = Math.min($('.load-api-btn').index($('.load-api-btn.active')) + 1, _length - 1);
        	let _apiid = parseInt($('.load-api-btn').eq(_index).attr('data-id'));

        	_load_document(_apiid);
        });

		//分享文档地址
        $(".export-document-link-btn").click(function() {
            $(this).attr('data-clipboard-text', 'https://smarthome2.smartdot.com:28000/m-platform.html');
            let _clipboard = new ClipboardJS('.export-document-link-btn');
            _clipboard.on('success', function(e) {
                alert('文档地址复制成功，您可以转发给您的小伙伴啦~');
                e.clearSelection();
                return true;
            });

            _clipboard.on('error', function(e) {
                alert('复制失败，请重试');
                return false;
            });
        });

		//加载左侧菜单
		_load_menu();
		$('.api-search-word').on('input change', function(){
			_load_menu();
		});

		$('.document-summary').on('click', '.load-api-btn', function(){
			let _this = this;
			let _apiid = parseInt($(_this).attr('data-id'));
			_load_document(_apiid);
		}).on('click', 'a[data-type="category"]', function(){
			$(this).next('.articles').toggle();

			if($(this).children('.fa').eq(0).hasClass('fa-folder-open-o')){
				$(this).children('.fa').eq(0).addClass('fa-folder-o').removeClass('fa-folder-open-o');
			}else{
				$(this).children('.fa').eq(0).addClass('fa-folder-open-o').removeClass('fa-folder-o');
			}
		}).on('click', '.load-sub-btn', function () {
            let _this = this;
            let _folder_id = parseInt($(_this).attr('data-id'));
            $('.sub-folder-' + _folder_id).toggle();
            if($(_this).children('.fa').eq(0).hasClass('fa-folder-open-o')){
                $(_this).children('.fa').eq(0).addClass('fa-folder-o').removeClass('fa-folder-open-o');
            }else{
                $(_this).children('.fa').eq(0).addClass('fa-folder-open-o').removeClass('fa-folder-o');
            }
        });

		//加载右侧文档
		_load_document(_init_apiid);

		//私有函数
		//加载右侧文档函数
		function _load_document(_apiid){
			NProgress.start();
			$('.chapter').removeClass('active');
			$('.chapter[data-id="'+_apiid+'"]').addClass('active');
			$('.page-wrapper').addClass('hide');
			$('.page-wrapper[tabindex="'+_apiid+'"]').removeClass('hide');
			$('.load-api-btn').removeClass('active');
			$('.load-api-btn[data-id="'+_apiid+'"]').addClass('active');

			//隐藏空的元素
			$('.document-block-div').each(function(){
				let _this = this;
				let _length = $(_this).find('tbody').eq(0).children().length;
				// console.log(_length);
				if(!_length){
					$(_this).hide();
				}
			});

			window.location.hash='#' + _apiid;
			NProgress.done();
		}

		//加载左侧菜单函数
        function _load_menu(){
        	let _keyword = $.trim($('.api-search-word').val());

        	//左侧渲染
	        $('.document-summary').empty();
	        for(let _x in _left_menus){
	            if(_left_menus[_x].item.length > 0){
                    let _html = '<li class="chapter">';
                    _html += '   <a href="javascript:;" class="' + (parseInt(_left_menus[_x].folder_id) == -1 ? 'default-folder':'') + '" data-type="category" data-id="' + _left_menus[_x].folder_id + '"><i class="fa fa-folder-open-o" aria-hidden="true"></i><strong>' + _left_menus[_x].name + '</strong></a>';
                    _html += '   <ul class="articles">';

                    for(let _l in _left_menus[_x].item){
                        if(!_left_menus[_x].item[_l].hasOwnProperty('apiid')){
                            let _sub_api_html = '';
                            for(let _s in _left_menus[_x].item[_l].item){
                                if(_left_menus[_x].item[_l].item[_s].name.indexOf(_keyword) > -1 || _keyword == '') {
                                    _sub_api_html += '<li class="chapter text-indent-2 ' + (parseInt(_left_menus[_x].item[_l].item[_s].apiid) == _init_apiid ? 'active' : '') + '" data-id="' + _left_menus[_x].item[_l].item[_s].apiid + '"><a class="load-api-btn" href="#' + _left_menus[_x].item[_l].item[_s].apiid + '" data-type="api" data-id="' + _left_menus[_x].item[_l].item[_s].apiid + '"><i class="fa fa-file-text-o" aria-hidden="true"></i>' + _left_menus[_x].item[_l].item[_s].name + ' </a> </li>';
                                }
                            }

                            if(_sub_api_html != ''){
                                _html += '<li class="chapter" data-id="' + _left_menus[_x].item[_l].folder_id + '"><a class="load-sub-btn" href="javascript:;" data-type="api" data-id="' + _left_menus[_x].item[_l].folder_id + '"><i class="fa fa-folder-open-o" aria-hidden="true"></i>' + _left_menus[_x].item[_l].name + ' </a> </li>';
                                _html += '<ul class="sub-folder-' + _left_menus[_x].item[_l].folder_id + '">';
                                _html += _sub_api_html;
                                _html += '</ul>';
                            }
                        }else{
                            if(_left_menus[_x].item[_l].name.indexOf(_keyword) > -1 || _keyword == ''){
                                _html += '<li class="chapter ' + (parseInt(_left_menus[_x].item[_l].apiid) == _init_apiid ? 'active':'') + '" data-id="' + _left_menus[_x].item[_l].apiid + '"><a class="load-api-btn" href="#' + _left_menus[_x].item[_l].apiid + '" data-type="api" data-id="' + _left_menus[_x].item[_l].apiid + '"><i class="fa fa-file-text-o" aria-hidden="true"></i>' + _left_menus[_x].item[_l].name + ' </a> </li>';
                            }
                        }
                    }
                    _html += '   </ul>';
                    _html += '</li>';

                    $('.document-summary').append(_html);
                }
	        }
        }
	});
</script>
<style type="text/css">
	/*common.css*/
	*{-webkit-box-sizing:border-box;-moz-box-sizing:border-box;box-sizing:border-box;-webkit-overflow-scrolling:touch;-webkit-tap-highlight-color:transparent;-webkit-text-size-adjust:none;-webkit-touch-callout:none;-webkit-font-smoothing:antialiased;font-family:..., "PingFangSC-Regular", "sans-serif", "Hiragino Sans GB", "Microsoft YaHei","WenQuanYi Micro Hei", sans-serif;font-size: .9rem!important ;  outline: none!important;}
	html{outline: none!important;}
	body{background:#f5f7fa}
	a{text-decoration: none}
	a:hover{text-decoration: none}
	img{border:0;}
	a:focus,button:focus{box-shadow: none!important;}
	table,td,th{table-layout:fixed;word-break:break-all; vertical-align: top}

	/*共用按钮*/
	/*橙色*/
	.btn-orange{ background-color: #ff5722!important; border-color: #ff5722!important;color:#fff;}
	.btn-orange:hover{background-color: #f76b40!important;color:#fff;}

	/*灰色*/
	.btn-gray{background-color: #e9ecef!important;color: #6c757d!important;}
	.btn-gray:hover{background-color: #dee2e6!important;color: #6c757d!important;}
    .load-api-btn{position: relative}
    .load-api-btn .api-modify-tips{width: 6px;height: 6px;border-radius: 50%;padding: 0!important;background: #dc3545!important;position: absolute!important;left: 25px;top: 8px;display: none}
    .load-api-btn:hover{color:#dc3545!important;}
    .api-name-class:hover{text-decoration: none}
    .api-name-class .btn-gray{margin-left: 15px;padding: 3px 8px;display: inline-block;}
    .api-name-class .btn-gray:hover{text-decoration: none!important;}
    /*.text-indent-2{text-indent: 1em}*/
    .request_raw_body_desc_textarea{width: 100%; border: 0; height: auto}
	/*弹窗*/
	.modal.show .modal-dialog{top:180px!important;}
	.modal-title{font-size: 1.05rem!important}
	.modal-header {display: -ms-flexbox;display: flex;-ms-flex-align: start;align-items: flex-start;-ms-flex-pack: justify;justify-content: space-between;background-color: #353644;padding: 10px 20px;color: #fff;border-top-left-radius: 0!important;border-top-right-radius: 0!important;}
	button.close{font-size: 18px!important; color: #fff!important}
	.modal-mm{max-width: 370px}
	.modal-body .alert-warning {width: 100%;}
	/*图标 /*/
    .markdown-section blockquote{padding: 10px 15px;background: #f7f7f7;}
	.fa{margin-right:8px}

    /*默认文件夹默认隐藏*/
    .default-folder{visibility: hidden;margin-top: -38px;}
    .chapter:hover .default-folder{visibility: visible;margin-top: 0px;}
    .hidden-value{display: none;}
</style>
</head>
<body>
<div class="book">
  	<div class="book-summary">
    	<div id="book-search-input" role="search">
      		<input type="text" class="api-search-word" placeholder="输入关键词搜索文档">
      	</div>
    	<nav>
      		<ul class="summary document-summary"></ul>
    	</nav>
  	</div>
  	<div class="book-body">
    	<div class="no-apis"></div>
    	<div class="body-inner">
	      	<div class="book-header">
		        <div class="dropdown">
		          	<a class="btn pull-left document-pull-left" href="javascript:;">&nbsp;
		            	<i class="fa fa-align-justify"></i></a>
		          	<a class="btn export-document-link-btn" href="javascript:;">
		            	<i class="fa fa-external-link" aria-hidden="true"></i>复制文档地址</a>
		        </div>
		        <h1><!-- 移动平台第三方集成接口接口文档 --></h1>
	    	</div>
	    	                        <div class="page-wrapper hide" tabindex="325969" role="main">
                <div class="page-inner">
                    <section class="markdown-section">
                        <h1 class="api-name-class"><i class="fa fa-link" aria-hidden="true"></i>产品简介 </h1>
                                                    <div>
                                <p><b>如何开发企业自建应用&nbsp;&nbsp;</b></p><p>慧点家园是新一代企业办公协作平台，使用家园你可以更高效地处理工作，例如和同事语音、文字、图片等多种方式沟通，单点到各种企业级的应用，查找组织架构内任意用户联系方式。家园可以帮助企业提升工作效率，降低生产成本和管理成本，开启向更高效、更协同、更安全的智能化公司转变。&nbsp;&nbsp;</p><p><b>为了更好的服务你的定制化需求，家园管理后台已经支持了企业内部定制开发，你可以：</b>&nbsp;&nbsp;</p><ul><li>将内部已有系统快速集成到家园&nbsp;&nbsp;</li><li>将已经开放 API 的订阅号集成到家园&nbsp;</li></ul><p><b>接下来将按以下顺序向你简述：&nbsp;</b>&nbsp;</p><ul><li>创建企业轻应用&nbsp;&nbsp;</li><li>首页轮播图设置&nbsp;&nbsp;</li><li>服务号管理配置&nbsp;</li></ul><p><b>创建企业轻应用&nbsp;&nbsp;</b></p><blockquote><p style="margin-left: 40px;">1.&nbsp;在轻应用管理-轻应用管理页面点击添加轻应用；&nbsp;</p><p style="margin-left: 40px;">2.&nbsp;填写完创建轻应用的相关信息后，点击添加轻应用；&nbsp;&nbsp;</p><p style="margin-left: 40px;"><img src="./img/liteapp_add.png" />&nbsp;&nbsp;</p><p style="margin-left: 40px;">3.&nbsp;轻应用创建成功后，你可以在未引用轻应用列表中，查看到所有已经添加成功的轻应用信息；&nbsp;</p><p style="margin-left: 40px;">&nbsp;<img src="./img/liteapp_list.png" />&nbsp;</p></blockquote><p><b><br></b></p><p><b><br></b></p><p><b>首页轮播图设置&nbsp;&nbsp;</b></p><blockquote><p style="margin-left: 40px;">1. 在轻应用管理-首页图片页面，点击添加。&nbsp;</p><p style="margin-left: 40px;">2.&nbsp;输入图片超链接、上传图片、显示图片，点击保存按钮。&nbsp;</p><p style="margin-left: 40px;"><img src="./img/liteapp_topimg_add.png" />&nbsp;&nbsp;</p><p style="margin-left: 40px;">3. 在首页图片下，可以查看到已经配置好的首页轮播图片。&nbsp;&nbsp;</p><p style="margin-left: 40px;"><img src="./img/liteapp_topimg_list.png" />&nbsp;</p></blockquote><p><b><br></b></p><p><b><br></b></p><p><b>服务号管理配置&nbsp;&nbsp;&nbsp;</b></p><blockquote><p style="margin-left: 40px;">1. 在服务号管理-服务号管理，点击添加服务号，可以自定义添加服务号的名称、订阅方式、推送方式。&nbsp;&nbsp;</p><p style="margin-left: 40px;">2.&nbsp;输入完毕需要配置的信息之后，点击添加服务号。&nbsp;</p><p style="margin-left: 40px;"><img src="./img/serviceno_add.png" />&nbsp;&nbsp;&nbsp;</p><p style="margin-left: 40px;">3. 添加服务号完毕后，可以在未引用服务号中查看相应的列表信息。&nbsp;&nbsp;&nbsp;</p><p style="margin-left: 40px;"><img src="./img/serviceno_list.png" />&nbsp;&nbsp;</p><p style="margin-left: 40px;">4.&nbsp;如果需要引用未引用的服务号的话，需要点击确认引用服务号的按钮。&nbsp;&nbsp;&nbsp;</p><p style="margin-left: 40px;"><img src="./img/serviceno_link.png" />&nbsp;&nbsp;&nbsp;&nbsp;</p><p style="margin-left: 40px;">5. 引用完毕后，就会在已引用服务号列表中，查看到所有在用的服务号信息。&nbsp;&nbsp;&nbsp;&nbsp;</p><p style="margin-left: 40px;"><img src="./img/serviceno_link_access.png" />&nbsp;<br></p></blockquote>                            </div>
                                            </section>
                </div>
            </div>
            	      	                        <div class="page-wrapper hide" tabindex="247546" role="main">
                <div class="page-inner">
                    <section class="markdown-section">
                        <h1 class="api-name-class"><i class="fa fa-link" aria-hidden="true"></i>开发准备工作 </h1>
                                                    <div>
                                <p><b>客户端接口（JS SDK）&nbsp;</b></p><blockquote><p style="margin-left: 40px;">慧家园不仅提供了后端扩展接口，同时也面向前端应用开发提供了 Html5 运行容器和 JS 接口扩展。无论是在 订阅号还是轻应用，都可以基于该前端接口进行开发。 慧家园在支持html5运行环境的基础上，还提供了调用Native能力的 JS 接口，开发者可以基于这些接口来调用Native的处理能力，实现拍照、扫描二维码、位置获取等能力。&nbsp;</p></blockquote><p><br></p><p><b>准备工作：&nbsp;</b></p><blockquote><p style="margin-left: 40px;">引入js &nbsp;&lt;script src="m-platform.js?version=3.0.1.0.0&amp;xy=https&amp;www=smarthome2.smartdot.com&amp;port=28000"&gt;&lt;/script&gt;；&nbsp;</p><p style="margin-left: 40px;">js参数需要根据所在的服务器环境来定，所以在使用时需要提前联系慧点家园技术支持部门&nbsp;</p><p style="margin-left: 40px;">该js 可以从&nbsp;<a href="https://smarthome2.smartdot.com:28000/m-platformjssdk/js/m-platform.js" rel="nofollow">https://smarthome2.smartdot.com:28000/m-platformjssdk/js/m-platform.js</a> 下载，也可以直接URL引用以方便更新后引入方不需要重新下载更新；<br></p></blockquote>                            </div>
                                            </section>
                </div>
            </div>
            	      	                        <div class="page-wrapper hide" tabindex="247004" role="main">
                <div class="page-inner">
                    <section class="markdown-section">
                        <h1 class="api-name-class"><i class="fa fa-link" aria-hidden="true"></i>获取当前wifi的SSID </h1>
                                                    <div>
                                <p><b><br></b></p><p><b>接口介绍</b> &nbsp;</p><blockquote><p style="margin-left: 40px;">当手机是wifi网络状态的情况下，调用该接口可以获取到当前wifi的 SSID 和 BSSID （分别对应路由的名称 和 路由唯一ID）；&nbsp;</p></blockquote><p><br></p><p><b>接口 </b>&nbsp;&nbsp;<br></p><blockquote><p style="margin-left: 40px;">MPlatform.getWifiSSIDs(successCallback,failureCallback);<br></p></blockquote><p><br></p><p><b>参数介绍&nbsp;</b></p><p></p><p></p><blockquote><p style="margin-left: 40px;">successCallback：获取WIFI网络状态成功后的回调入口 ；&nbsp;</p><p style="margin-left: 40px;">failureCallback &nbsp; ：获取WIFI网络状态失败后的回调入口 ； &nbsp;</p><p style="margin-left: 40px;">注：回调的一定是是function，可以当成字符串使用，但是一定要存在这样的function&nbsp;</p></blockquote><p style="margin-left: 40px;"><br></p><p><b>回调返回的参数</b><br></p><blockquote><p style="margin-left: 40px;"><b></b>callback 回调返回的数据为json ，数据获取样例如下：</p><p style="margin-left: 40px;">{"ssid":"smartdot(5G)","bssid":"74:25:8a:51:07:a0"}</p><p style="margin-left: 40px;">ssid ： wifi 的名称 ，在回调里获取的方法为 data.ssid ;</p><p style="margin-left: 40px;">bssid ：wifi 的唯一ID（类似于交换机的mac ID） ，在回调里获取的方法为 data.bssid ;</p></blockquote><p style="margin-left: 40px;"><br></p><p><b>实例代码</b> &nbsp; &nbsp; &nbsp; &nbsp;&nbsp;</p><pre><code class="lang-js">&nbsp;&nbsp;&nbsp;&nbsp;MPlatform.getWifiSSIDs(successCallback,failureCallback);

&nbsp;&nbsp;&nbsp;&nbsp;function&nbsp;successCallback(data){
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;alert(data.ssid + " : " + data.bssid);
&nbsp;&nbsp;&nbsp;&nbsp;}

&nbsp;&nbsp;&nbsp;&nbsp;function failureCallback(data){
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;alert('失败了，没有获取成功');
&nbsp;&nbsp;&nbsp;&nbsp;}
</code></pre><p style="margin-left: 40px;"><br></p><p>参考demo&nbsp;在家园内访问 <a href="https://smarthome2.smartdot.com:28000/m-platformjssdk/wifiSSIDs.html" target="_blank">获取当前无线的SSID</a> 当前的地理位置 查看demo的实现方式和原理<br></p>                            </div>
                                            </section>
                </div>
            </div>
            	      	                        <div class="page-wrapper hide" tabindex="246623" role="main">
                <div class="page-inner">
                    <section class="markdown-section">
                        <h1 class="api-name-class"><i class="fa fa-link" aria-hidden="true"></i>获取当前网络状态 </h1>
                                                    <div>
                                <p><b><br></b></p><p><b>接口介绍</b>&nbsp;</p><blockquote><p style="margin-left: 40px;">调用该接口可以获取到当前手机网络状态（2G、3G、4G、5G、wifi、unknown），从而方便第三方应用在用户体验上的优化；</p></blockquote><p><br></p><p><b>接口</b> &nbsp;</p><blockquote><p style="margin-left: 40px;">MPlatform.getNetworkStatus(callback);</p></blockquote><p><br></p><p><b>参数介绍</b>&nbsp;</p><blockquote><p style="margin-left: 40px;">callback：网络状态结果的回调入口 ；&nbsp;</p><p style="margin-left: 40px;"><u>注：回调的一定是是function，可以当成字符串使用，但是但是一定要存在这样的function</u>&nbsp;</p></blockquote><p><br></p><p><b>回调返回的参数</b></p><p style="margin-left: 40px;"><b></b><b></b>callback 回调返回的数据为 字符串 ，直接处理即可，分别为：</p><blockquote><p style="margin-left: 40px;">2G ：表示2G网络；</p><p style="margin-left: 40px;">3G ：表示3G网络；</p><p style="margin-left: 40px;">4G ：表示4G网络；</p><p style="margin-left: 40px;">5G ：表示5G网络；（暂时用不上）</p><p style="margin-left: 40px;">wifi ：表示手机是wifi状态下；</p><p style="margin-left: 40px;">unknown ：表示无网络</p></blockquote><p><br></p><p><b>实例代码</b> &nbsp; &nbsp; &nbsp; &nbsp;&nbsp;</p><pre><code class="lang-js">&nbsp;&nbsp;&nbsp;&nbsp;MPlatform.getNetworkStatus(showNetworkStatus);&nbsp;

&nbsp;&nbsp;&nbsp;&nbsp;function showNetworkStatus(result) {&nbsp;

&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;alert(result);&nbsp;

&nbsp;&nbsp;&nbsp;&nbsp;}<br></code></pre><p><br></p><p>参考demo&nbsp;在家园内访问 <a href="https://smarthome2.smartdot.com:28000/m-platformjssdk/networkStatus.html" target="_blank">获取当前网络状态</a> 当前的地理位置 查看demo的实现方式和原理</p>                            </div>
                                            </section>
                </div>
            </div>
            	      	                        <div class="page-wrapper hide" tabindex="244525" role="main">
                <div class="page-inner">
                    <section class="markdown-section">
                        <h1 class="api-name-class"><i class="fa fa-link" aria-hidden="true"></i>扩展自定义系统返回键 </h1>
                                                    <div>
                                <p><b><br></b></p><p><b>接口介绍</b></p><blockquote><p style="margin-left: 40px;">该功能主要用于android系统上，用于系统虚拟键返回；</p><p style="margin-left: 40px;">由于第三方接入的应用可能存在一次或多次的页面内跳转，造成在使用系统返回键返回时起不到返回的效果（系统返回键默认返回到上一个跳转界面，而如果是经过跳转的，那么在执行系统返回时最终还是会返回到当前界面） &nbsp;</p><p style="margin-left: 40px;">第三方有需要可使用本章介绍内容实现系统返回键的自定义；</p></blockquote><p style="margin-left: 40px;"><br></p><p style="margin-left: 40px;"><b>总体实现方式和规则为：</b></p><blockquote><p style="margin-left: 40px;">1、先自己定义一个函数，而该函数内就是取代系统返回键操作的（点击系统返回键时触发该操作）；</p><p style="margin-left: 40px;">2、该函数必须是function定义型函数；</p><p style="margin-left: 40px;">3、将定义好的函数提交给 慧家园管理或支持人员，慧家园方会将定好的函数在后台进行配置，从而达到点击系统返回键时调用自己的返回操作逻辑；</p></blockquote><p><br></p><p><b>函数定义规则</b> &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;</p><blockquote><p style="margin-left: 40px;">function maxWebView(){ &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;</p><p style="margin-left: 80px;">alert('您点击的系统返回键'); &nbsp; &nbsp; &nbsp; &nbsp;</p><p style="margin-left: 40px;">} &nbsp;</p><p style="margin-left: 40px;">开发人员只需要将&nbsp;maxWebView 函数提供给我们慧家园人员即可（重写的函数是一个<b>无参函数</b>）；</p></blockquote>                            </div>
                                            </section>
                </div>
            </div>
            	      	                        <div class="page-wrapper hide" tabindex="244519" role="main">
                <div class="page-inner">
                    <section class="markdown-section">
                        <h1 class="api-name-class"><i class="fa fa-link" aria-hidden="true"></i>窗口最大化 </h1>
                                                    <div>
                                <p><b><br></b></p><p><b>接口介绍</b> &nbsp;&nbsp;</p><blockquote><p style="margin-left: 40px;">接口可供第三方调用将当前的浏览器窗口（webview窗口）最大化 ，往往在使用该功能均是因为第三接入方有自己的页头（防止两个页头的现象）； &nbsp;</p></blockquote><p><br></p><p><b>接口</b> &nbsp; &nbsp;</p><blockquote><p style="margin-left: 40px;">MPlatform.maxWindow();</p></blockquote><p><br></p><p><b>实例代码</b> &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;&nbsp;</p><pre><code>&nbsp;&nbsp;&nbsp;&nbsp;function maxWebView(){ &nbsp; &nbsp;&nbsp;
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;MPlatform.maxWindow(); &nbsp;&nbsp;
&nbsp;&nbsp;&nbsp;&nbsp;}&nbsp;<br></code></pre><p><br></p><p><b>参考demo</b> &nbsp;&nbsp;</p><p style="margin-left: 40px;">在家园内访问 <a href="https://smarthome2.smartdot.com:28000/m-platformjssdk/maxWin.html" target="_blank">窗口最大化</a> 当前的地理位置 查看demo的实现方式和原理<br></p>                            </div>
                                            </section>
                </div>
            </div>
            	      	                        <div class="page-wrapper hide" tabindex="244509" role="main">
                <div class="page-inner">
                    <section class="markdown-section">
                        <h1 class="api-name-class"><i class="fa fa-link" aria-hidden="true"></i>关闭当前显示窗口 </h1>
                                                    <div>
                                <p><b><br></b></p><p><b>接口介绍 &nbsp;</b></p><blockquote><p style="margin-left: 40px;">接口可供第三方调用关闭当前的浏览器窗口（webview窗口），该功能主要用作于把窗口最大化后，系统本身的无法提供关闭窗口的时候；</p><p style="margin-left: 40px;">往往在使用该窗口均是因为第三接入方有自己的页头（防止两个页头的现象）；&nbsp;</p></blockquote><p><br></p><p><b>接口 &nbsp;&nbsp;</b></p><blockquote><p style="margin-left: 40px;">MPlatform.closeWindow();</p></blockquote><p style="margin-left: 40px;"><br></p><p><b>实例代码</b> &nbsp; &nbsp; &nbsp; &nbsp;&nbsp;</p><pre><code class="lang-js">&nbsp;&nbsp;function closeWebView(){
&nbsp;&nbsp;&nbsp;&nbsp;MPlatform.closeWindow();
&nbsp;&nbsp;}<br></code></pre><p><br></p><p><b>参考demo &nbsp;</b></p><p>在家园内访问 <a href="https://smarthome2.smartdot.com:28000/m-platformjssdk/closeWin.html" target="_blank">关闭当前显示窗口</a> 当前的地理位置 查看demo的实现方式和原理<br></p>                            </div>
                                            </section>
                </div>
            </div>
            	      	                        <div class="page-wrapper hide" tabindex="241904" role="main">
                <div class="page-inner">
                    <section class="markdown-section">
                        <h1 class="api-name-class"><i class="fa fa-link" aria-hidden="true"></i>二维码调用接口 </h1>
                                                    <div>
                                <p><b><br></b></p><p><b>接口介绍&nbsp;</b></p><blockquote><p style="margin-left: 40px;">接口可供第三方调用原生扫码功能，用于丰富接入应用的功能多样性等；</p></blockquote><p><br></p><p><b>接口&nbsp;</b></p><blockquote><p style="margin-left: 40px;">&nbsp;MPlatform.tdcode(callback);<br></p></blockquote><p><br></p><p><b>参数介绍&nbsp;</b></p><blockquote><p style="margin-left: 40px;"><b>callback：</b>扫码结果的回调入口（会将扫到的结果放入该回调） ；&nbsp;<br></p><p style="margin-left: 80px;">注：回调的一定是是function，可以当成字符串使用，但是但是一定要存在这样的function&nbsp;</p></blockquote><p><br></p><p><b>成功回调返回的参数&nbsp;</b></p><blockquote><p style="margin-left: 40px;">callback 回调返回的数据为 字串符 型，收到直接处理即可 ；<br></p></blockquote><p><br></p><p><b>实例代码 &nbsp; &nbsp;</b> &nbsp; &nbsp;</p><pre><code class="lang-js">        MPlatform.tdcode(mycode);

        function mycode(result) {
           alert(result);
        }
<br></code></pre><p><br></p><p><b>参考demo</b>&nbsp;</p><p>在家园内访问 <a href="https://smarthome2.smartdot.com:28000/m-platformjssdk/showTdCode.html" target="_blank">二维码调用接口</a> 当前的地理位置 查看demo的实现方式和原理<br></p>                            </div>
                                            </section>
                </div>
            </div>
            	      	                        <div class="page-wrapper hide" tabindex="241668" role="main">
                <div class="page-inner">
                    <section class="markdown-section">
                        <h1 class="api-name-class"><i class="fa fa-link" aria-hidden="true"></i>调用相机或相册 </h1>
                                                    <div>
                                <p><b><br></b></p><p><b>接口介绍</b>&nbsp;</p><blockquote><p style="margin-left: 40px;">接口可供第三方调用原生手机拍照、照片选择的功能，用于丰富接入应用的功能多样性等；&nbsp;</p></blockquote><p><br></p><p><b>接口</b>&nbsp;</p><blockquote><p style="margin-left: 40px;">MPlatform.capture({edit:false,posturl:'',maxlength:1048576,type:0},successCallback,failureCallback);<br></p></blockquote><p><br></p><p><b>参数介绍</b>&nbsp;</p><blockquote><p style="margin-left: 40px;">JSON内的结构体参数：</p><p style="margin-left: 80px;">edit ：图片是否可裁剪 （true 为可裁剪，false 为不可裁剪），该功能暂不完善，默认为false即可；</p><p style="margin-left: 80px;">posturl ：图片上传路径URL，默认为慧家园的图片库内，如果需要自己存储则需要自己构建图片URL上传地址；</p><p style="margin-left: 80px;">maxlength ：图片的大小控制（类型为 字节），该功能暂不晚上，默认填写 1048576；</p><p style="margin-left: 80px;">type ：需要使用的功能，0 标识需要使用相册和相机，1 标识只需要使用拍照 ， 2 标识只需要使用相册；</p><p style="margin-left: 40px;">successCallback：图片上传成功后的回调入口 ；</p><p style="margin-left: 40px;">failureCallback &nbsp; ：图片上传失败后的回调入口 ；&nbsp;</p><p style="margin-left: 40px;"><u>注：回调的一定是是function，可以当成字符串使用，但是一定要存在这样的function&nbsp;</u></p></blockquote><p style="margin-left: 40px;"><b>特别提醒：如果是自己的图片服务器，上传地址必须实现multipart方式的上传处理，否则无法接收上传数据</b></p><p><u></u><u></u><b></b><br></p><p><b>成功回调返回的参数</b></p><p style="margin-left: 40px;"><b></b>successCallback 在本实例中回调返回的数据为 JSON ，由于返回的的数据是从上传图片的接口返回的，所以如果自己定义的图片服务，那么返回数据可以根据自己的需要而定，如果自己没有图片服务器，可以可以系统本身的图片服务器，那么返回的数据格式则为JSON格式 ；</p><p style="margin-left: 40px;">样例：</p><p style="margin-left: 40px;">&nbsp;{"code" :"000000","filepath":"<a href="http://smarthome2.smartdot.com:28000/admin_api/....." rel="nofollow">http://smarthome2.smartdot.com:28000/admin_api/.....</a> ?access_token=xxx&amp;imgpath=xxx"}</p><p style="margin-left: 40px;"><b>关键词识别获取：</b></p><blockquote><p style="margin-left: 40px;">code ： 交易识别码 ；</p><p style="margin-left: 40px;">filepath ： 图片访问、下载路径</p></blockquote><p><br></p><p><b>实例代码</b> &nbsp; &nbsp; &nbsp; &nbsp;</p><pre><code class="lang-js">&nbsp;&nbsp;&nbsp;&nbsp;function gCapture() {
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;MPlatform.capture({edit:false,posturl:'https://smarthome2.smartdot.com:28000/admin_api/jssdk/jssdk_upload_img',maxlength:1048576,type:0},captured,failed);
&nbsp;&nbsp;&nbsp;&nbsp;}
&nbsp;&nbsp;&nbsp;&nbsp;function captured(data) {
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;alert(data.code +" : "+data.filepath);
&nbsp;&nbsp;&nbsp;&nbsp;}
&nbsp;&nbsp;&nbsp;&nbsp;function failed(msg) {
&nbsp;&nbsp;&nbsp;&nbsp;}<br></code></pre><p><br></p><p><b>图片上传代码示例DEMO（JAVA）</b></p><pre><code class="lang-java">&nbsp;&nbsp;&nbsp;Map&lt;String, String&gt; sysParamConfig = CacheUtils.getSysParamConfig();
&nbsp;&nbsp;&nbsp;// 创建一个通用的多部分解析器
&nbsp;&nbsp;&nbsp;CommonsMultipartResolver multipartResolver = new CommonsMultipartResolver(request.getSession().getServletContext());
&nbsp;&nbsp;&nbsp;// 判断 request 是否有文件上传,即多部分请求
&nbsp;&nbsp;&nbsp;if (multipartResolver.isMultipart(request)) {
&nbsp;&nbsp;&nbsp;&nbsp;// 转换成多部分request
&nbsp;&nbsp;&nbsp;&nbsp;MultipartHttpServletRequest multiRequest = (MultipartHttpServletRequest) request;
&nbsp;&nbsp;&nbsp;&nbsp;// 取得request中的所有文件名
&nbsp;&nbsp;&nbsp;&nbsp;Iterator&lt;String&gt; iter = multiRequest.getFileNames();
&nbsp;&nbsp;&nbsp;&nbsp;Date dirDate = new Date();
&nbsp;&nbsp;&nbsp;&nbsp;while (iter.hasNext()) {
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;// 取得上传文件
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;MultipartFile file = multiRequest.getFile(iter.next());
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;if (file != null) {
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;// 取得当前上传文件的文件名称
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;String myFileName = file.getOriginalFilename();
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;// 获取文件的后缀名
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;String suffixName = myFileName.substring(myFileName.lastIndexOf("."));
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;if (myFileName.trim() != "" &amp;&amp; FileUploadUtils.isImag(myFileName)) {
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;// 重命名上传后的文件名
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;String nowDir = "/" + new SimpleDateFormat("yyyy").format(dirDate) + "/" + new SimpleDateFormat("MM").format(dirDate)
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; + "/" + new SimpleDateFormat("dd").format(dirDate);
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;String fileName = UUID.randomUUID() + suffixName;
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;// 定义上传路径
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;String fullFileName = sysParamConfig.get("HEAD_IMG_STORAGE_PATH");
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;String path = fullFileName + "/jssdk_upload" + nowDir;
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;File fileDir = new File(path);
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;if (!fileDir.isDirectory()) {
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;fileDir.mkdirs();
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;}
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;File localFile = new File(path + "/" + fileName);
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;file.transferTo(localFile);
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;jsonObject.element("code", "000000");
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;url = sysParamConfig.get("PARAM_SERVLET_PAHT") + "/jssdk/jssdk_download_img?headImg=/jssdk_upload/" + nowDir + "/"
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; + fileName;
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;jsonObject.element("filepath", url);
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;} else {
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;jsonObject.element("code", "60x079");
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;jsonObject.element("filepath", "");
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;}
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;}
&nbsp;&nbsp;&nbsp;&nbsp;}
&nbsp;&nbsp;&nbsp;}<br></code></pre><p><br></p><p><b>图片上传代码示例（PHP）</b><br></p><p><b></b><br></p><p><b>参考demo&nbsp;</b></p><p>在家园内访问 <a href="https://smarthome2.smartdot.com:28000/m-platformjssdk/showCamera.html" target="_blank">调用相机或相册</a> 查看demo的实现方式和原理<br></p>                            </div>
                                            </section>
                </div>
            </div>
            	      	                        <div class="page-wrapper hide" tabindex="240948" role="main">
                <div class="page-inner">
                    <section class="markdown-section">
                        <h1 class="api-name-class"><i class="fa fa-link" aria-hidden="true"></i>获取用户当前的地理位置 </h1>
                                                    <div>
                                <p><b><br></b></p><p><b>接口介绍</b></p><blockquote><p style="margin-left: 40px;">获取用户当前的地理位置 是为第三方接入方提供的扩展性接口，用于丰富接入应用的功能多样性，如 获取当前用户的地理位置 可以帮助接入方实现位置打卡、行为轨迹图 等；</p></blockquote><p><br></p><p><b>接口</b></p><blockquote><p style="margin-left: 40px;">MPlatform.getLocation(successCallback,failureCallback)</p></blockquote><p><br></p><p><b>参数介绍</b></p><blockquote><p style="margin-left: 40px;">successCallback：位置获取成功后的回调入口 ；</p><p style="margin-left: 40px;">failureCallback &nbsp; ：位置获取失败后的回调入口 ；<br></p><p style="margin-left: 40px;">注：回调的一定是是function，可以当成字符串使用，但是但是一定要存在这样的function</p></blockquote><p><br></p><p><b>成功回调返回的参数</b></p><p style="margin-left: 40px;"><b></b>successCallback 回调返回的数据为 JSON ；</p><p style="margin-left: 40px;">样例：</p><p style="margin-left: 40px;">{"longitude" :"116.35812012","latitude":"40.04323893" ....}</p><p style="margin-left: 40px;">关键词识别获取：</p><blockquote><p style="margin-left: 80px;">longitude ： 经度坐标；</p><p style="margin-left: 80px;">latitude ： 纬度坐标；</p><p style="margin-left: 80px;">city ： 坐标定位的城市名称；</p><p style="margin-left: 80px;">address ：坐标的具体位置（例如：北京市海淀区西小口路东升科技园北领地）；</p><p style="margin-left: 80px;">district ： 区域（例如：海淀区）；</p><p style="margin-left: 80px;">street ：街道、道路 （例如：西小口路）；</p><p style="margin-left: 80px;">country ： 国家（例如：中国）；</p><p style="margin-left: 80px;">province ： 省份（例如：河北省 ，如果是直辖市则如： 北京市）；</p><p style="margin-left: 80px;">buildname ： 区块名称（例如：东升科技园北领地）</p></blockquote><p><br></p><p>实例代码 &nbsp;&nbsp;</p><pre><code class="lang-js">&nbsp;&nbsp;&nbsp;&nbsp;MPlatform.getLocation(locationSucceed,locationFailed);
&nbsp;&nbsp;&nbsp;&nbsp;
&nbsp;&nbsp;&nbsp;&nbsp;function locationSucceed(data) {

&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;alert(data.longitude+" : "+data.latitude);

&nbsp;&nbsp;&nbsp;&nbsp;}

&nbsp;&nbsp;&nbsp;&nbsp;function locationFailed(msg){

&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;alert(msg);

&nbsp;&nbsp;&nbsp;&nbsp;}
<br></code></pre><p><br></p><p><b>参考demo</b></p><p style="margin-left: 40px;">在家园内访问 <a href="https://smarthome2.smartdot.com:28000/m-platformjssdk/showMap.html" target="_blank">获取用户当前的地理位置</a> 查看demo的实现方式和原理</p>                            </div>
                                            </section>
                </div>
            </div>
            	      	                        <div class="page-wrapper hide" tabindex="240903" role="main">
                <div class="page-inner">
                    <section class="markdown-section">
                        <h1 class="api-name-class"><i class="fa fa-link" aria-hidden="true"></i>个人详情界面 </h1>
                                                    <div>
                                <p><b><br></b></p><p><b>接口介绍</b></p><blockquote><p style="margin-left: 40px;">个人详情界面接口 是为第三方应用提供的快速查看帐号详情的入口，可以通过调用该接口快速进入某人的个人详情（目前只支持通讯录组织人员，暂不支持群组）；</p></blockquote><p><br></p><p><b>接口</b></p><blockquote><p style="margin-left: 40px;">MPlatform.showInfo(openUserId);</p></blockquote><p><br></p><p><b>参数介绍</b></p><blockquote><p style="margin-left: 40px;">openUserId：需要快速沟通的用户ID&nbsp;</p><p style="margin-left: 120px;">注：ID帐号要包含 域 信息，如帐号是 lils ，那么在输入时追加域信息，整个帐号信息为：lils@hdkj</p></blockquote><p><br></p><p><b>实例代码</b></p><pre><code class="lang-js">&nbsp;&nbsp;&nbsp;&nbsp;function openUserInfo(user){
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;MPlatform.showInfo(user);
&nbsp;&nbsp;&nbsp;&nbsp;}<br></code></pre><p><br></p><p><b>参考demo</b>&nbsp;</p><p style="margin-left: 40px;">在家园内访问 <a href="https://smarthome2.smartdot.com:28000/m-platformjssdk/showUser.html" target="_blank">个人详情界面</a> 查看demo的实现方式和原理<br></p>                            </div>
                                            </section>
                </div>
            </div>
            	      	                        <div class="page-wrapper hide" tabindex="240851" role="main">
                <div class="page-inner">
                    <section class="markdown-section">
                        <h1 class="api-name-class"><i class="fa fa-link" aria-hidden="true"></i>调取聊天（沟通）界面 </h1>
                                                    <div>
                                <p><b><br></b></p><p><b>接口介绍</b></p><blockquote><p style="margin-left: 40px;">可以打开当前用户与指定用户的聊天对话框界面， 是为第三方应用提供的快速沟通入口，可以通过调用该接口快速进入与某人的沟通（目前快速沟通入口只支持点对点，暂不支持群组）；</p></blockquote><p style="margin-left: 40px;"><br></p><p><b>接口</b></p><blockquote><p style="margin-left: 40px;">MPlatform.chatWithUser(openUserId);</p></blockquote><p style="margin-left: 40px;"><br></p><p><b>参数介绍</b></p><blockquote><p style="margin-left: 40px;"><b>openUserId：</b>需要快速沟通的用户ID&nbsp;</p><p style="margin-left: 120px;">注：ID帐号要包含 域 信息，如帐号是 lils ，那么在输入时追加域信息，整个帐号信息为：lils@hdkj</p></blockquote><p style="margin-left: 40px;"><br></p><p><b>实例代码</b></p><pre><code>&nbsp;&nbsp;&nbsp;&nbsp;function openChatUser(user){
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;MPlatform.chatWithUser(user);
&nbsp;&nbsp;&nbsp;&nbsp;}<br></code></pre><p><br></p><p><b>参考demo &nbsp;</b></p><p style="margin-left: 40px;">在家园内访问 <a href="https://smarthome2.smartdot.com:28000/m-platformjssdk/chatUser.html" target="_blank">唤起聊天（沟通）界面</a> 查看demo的实现方式和原理<br></p>                            </div>
                                            </section>
                </div>
            </div>
            	      	                        <div class="page-wrapper hide" tabindex="237610" role="main">
                <div class="page-inner">
                    <section class="markdown-section">
                        <h1 class="api-name-class"><i class="fa fa-link" aria-hidden="true"></i>人员选择器 </h1>
                                                    <div>
                                <p><b><br></b></p><p><b>接口介绍</b></p><blockquote><p style="margin-left: 40px;">人员选择器 是为第三方应用提供的通讯录选择器，可以通过调用该接口呈现完整的通讯录；人员选择器分为 人员多选 、人员单选；</p></blockquote><p><br></p><p><b>接口</b></p><blockquote><p style="margin-left: 40px;">MPlatform.selectUser(preSelectedUsers,isMulti,successCallback,failureCallback);</p></blockquote><p><br></p><p><b>参数介绍</b></p><blockquote><p style="margin-left: 40px;"><b>preSelectedUsers</b>：已选择用户，可以为多值，使用英文逗号进行分割，例如如：zhangsan@hdkj,lisi@hdkj,wangwu@hdkj，该参数主要是针对多选界面，当进行多选的时候，在选择界面下方会自动显示这些用户，单选的时候该值直接为空即可。</p><p style="margin-left: 40px;"><b>isMulti</b>：true或者false。如果为true，则表示允许用户多选，否则只能单选。&nbsp;</p><p style="margin-left: 40px;"><b>successCallback</b>：选择成功之后的回调方法，该回调方法的参数为json数据格式，记录了用户选择的人员信息，例如：</p><p style="margin-left: 80px;">&nbsp;{users:[{userId:'zhangsan@hdkj',username:'张三'},{userId:'lisi@hdkj',username:'李四'},{userId:'zhaoliu@hdkj',username:'赵六'}]}。</p><p style="margin-left: 40px;"><b>failureCallback</b>:选择失败的回调方法,暂时还没有启动。<br></p></blockquote><p><b></b><br></p><p><b>成功回调返回参数</b></p><p style="margin-left: 40px;"><b></b>successCallback 回调返回的数据为 集合JSON ，其各字段分别为：</p><blockquote><p style="margin-left: 40px;">users ： 为用户集合</p><p style="margin-left: 80px;">userId ： 用户唯一ID（帐号）；</p><p style="margin-left: 80px;">username ： 用户真实姓名 ；</p></blockquote><p><br></p><p><b>示例代码</b></p><pre><code class="lang-js">&nbsp;&nbsp;&nbsp;&nbsp;//调用该函数即可启动人员选择器
&nbsp;&nbsp;&nbsp;&nbsp;function gSelectUsers(){
&nbsp;  &nbsp;&nbsp;&nbsp;&nbsp;MPlatform.selectUser('',false,userSelected,userFailed);
&nbsp;&nbsp;&nbsp;&nbsp;};
&nbsp;&nbsp;&nbsp;&nbsp;function userSelected(data) {
&nbsp;  &nbsp;&nbsp;&nbsp;&nbsp;var size = data.users.length;
&nbsp;  &nbsp;&nbsp;&nbsp;&nbsp;for(var i = 0 ; i &lt; size ; i++) {
&nbsp;&nbsp;   &nbsp;&nbsp;&nbsp;&nbsp;  alert(data.users[i].userId);
&nbsp;  &nbsp;&nbsp;&nbsp;&nbsp;}
&nbsp;&nbsp;&nbsp;&nbsp;};
&nbsp;&nbsp;&nbsp;&nbsp;function userFailed () {

&nbsp;&nbsp;&nbsp;&nbsp;}<br></code></pre><p><br></p><p><b>参考demo</b> &nbsp;&nbsp;</p><p>在家园内访问 <a href="https://smarthome2.smartdot.com:28000/m-platformjssdk/selectUsers.html" target="_blank">人员选择器</a> 查看demo的实现方式和原理<br></p>                            </div>
                                            </section>
                </div>
            </div>
            	      	                        <div class="page-wrapper hide" tabindex="237596" role="main">
                <div class="page-inner">
                    <section class="markdown-section">
                        <h1 class="api-name-class"><i class="fa fa-link" aria-hidden="true"></i>更多开放接口 </h1>
                                                    <div>
                                <p><b>更多开放接口正在加紧开发中，如有特殊需要，请联系慧家园技术支持支持那反馈，我们会根据产品评估确认给与您开放，谢谢支持！</b></p>                            </div>
                                            </section>
                </div>
            </div>
            	      	                        <div class="page-wrapper hide" tabindex="237274" role="main">
                <div class="page-inner">
                    <section class="markdown-section">
                        <h1 class="api-name-class"><i class="fa fa-link" aria-hidden="true"></i>订阅号-开发准备 </h1>
                                                    <div>
                                <p><b>订阅号消息通知集成&nbsp;</b></p><p style="margin-left: 40px;">订阅号消息通知是平台的一种扩展，旨在为用户提供信息通知服务，通常理解为第三方应用本身提供的消息服务；&nbsp;</p><blockquote><p style="margin-left: 40px;">首先第三方如果要集成订阅号服务，需要先向管理员索要自己的订阅号ID和秘钥，然后调用【获取订阅号令牌】拿到该订阅号的使用权限（access_token）；</p><p style="margin-left: 40px;">然后根据自身需要实现发送不同的消息类型（每次在调用接口是均需要将令牌放入到header中，否则无法识别身份而导致无法发送）；</p></blockquote><p style="margin-left: 40px;">注：如需要发送图文消息并点击图文实现单点跳转的，需要在发送消息时的访问地址内加上注入令牌的地方；&nbsp;</p><p style="margin-left: 40px;">假如推送的URL访问地址是 <a href="http://hjy.smartdot.com/content?id=123321">http://hjy.smartdot.com/content?id=123321</a> ，那么在集成的时候，要根据自身接收参数的需要在其URL加入令牌注入参数，从而形成新的URL ：<a href="http://hjy.smartdot.com/content?id=123321&amp;access_token=%access_token%">http://hjy.smartdot.com/content?id=123321&amp;access_token=%access_token%</a> ，而推送的URL应发送新的URL地址才能保证推送的URL能实现单点数据的接收（单点的过程需要第三方接收到身份令牌后调用身份验证接口获取合法身份信息）；<br></p>                            </div>
                                            </section>
                </div>
            </div>
            	      	                        <div class="page-wrapper hide" tabindex="237236" role="main">
                <div class="page-inner">
                    <section class="markdown-section">
                        <h1 class="api-name-class"><i class="fa fa-link" aria-hidden="true"></i>同步 - 开发准备 </h1>
                                                    <div>
                                <p><b>组织结构接入：&nbsp;</b></p><p style="margin-left: 40px;">组织结构接入是针对第三方企业独立域的结构或组织提供的（前提条件为 独立的组织域）；&nbsp;</p><blockquote><p style="margin-left: 40px;">当需要组织自主接入的时候，需要在域管理后台（域独立帐号）添加组织结构接入的识别码，而后将识别码提供给同步接入的研发人员；&nbsp;</p><p style="margin-left: 40px;">研发人员需要在拿到同步识别码后调用获取同步令牌接口换取令牌并随同返回该令牌的失效时间，而该令牌将作为在未失效前的组织结构同步接口调用凭证；<br></p></blockquote>                            </div>
                                            </section>
                </div>
            </div>
            	      	                        <div class="page-wrapper hide" tabindex="230037" role="main">
                <div class="page-inner">
                    <section class="markdown-section">
                        <h1 class="api-name-class"><i class="fa fa-link" aria-hidden="true"></i>产品概述 </h1>
                                                    <div>
                                <p><b><br></b></p><p><b>慧家园产品概述：&nbsp;</b></p><p style="margin-left: 40px;">慧家园产品是企业级统一连接中心，统一汇聚企业中的所有信息入口，为用户统一呈现工作重心统一所有与自身相关的工作入口，统一消息中心及时推送与自身相关的人际沟通消息及工作待办消息，统一内容中心全面且有选择的展现需要个人掌握的企业内部内容；&nbsp;</p><p><br></p><p><b>订阅号概述：</b>&nbsp;</p><p style="margin-left: 40px;">订阅号作为企业内部统一消息中心的核心模块，提供标注的规范和接口给所有需要向用户推送消息的系统使用，同时提供强制订阅及自由订阅等选项，给系统和用户创造更有效的链接及自主性；&nbsp;</p><p><br></p><p><b>轻应用概述：&nbsp;</b></p><p style="margin-left: 40px;">轻应用作为统一工作中心的核心能力，通过完善的后台管理权限及标准的接入规范和接口，提供员工所需进行的所有工作相关入口，并可灵活提供千人千面因人而异的模块清单及安全快捷的单点登录能力；<br></p>                            </div>
                                            </section>
                </div>
            </div>
            	      	                        <div class="page-wrapper hide" tabindex="228793" role="main">
                <div class="page-inner">
                    <section class="markdown-section">
                        <h1 class="api-name-class"><i class="fa fa-link" aria-hidden="true"></i>开发准备 </h1>
                                                    <div>
                                <p>目前接入分三种，分别为组织结构接入（组织结构同步）、轻应用（小程序）的接入、订阅号消息通知集成； &nbsp;</p><p><b>组织结构接入：</b><br></p><p style="margin-left: 40px;">组织结构接入是针对第三方企业独立域的结构或组织提供的（前提条件为 独立的组织域）；</p><blockquote><p style="margin-left: 40px;">当需要组织自主接入的时候，需要在域管理后台（域独立帐号）添加组织结构接入的识别码，而后将识别码提供给同步接入的研发人员；</p><p style="margin-left: 40px;">研发人员需要在拿到同步识别码后调用获取同步令牌接口换取令牌并随同返回该令牌的失效时间，而该令牌将作为在未失效前的组织结构同步接口调用凭证；</p></blockquote><p><br></p><p><b>订阅号消息通知集成</b></p><p style="margin-left: 40px;">订阅号消息通知是平台的一种扩展，旨在为用户提供信息通知服务，通常理解为第三方应用本身提供的消息服务；</p><blockquote><p style="margin-left: 40px;">首先第三方如果要集成订阅号服务，需要先向管理员索要自己的订阅号ID和秘钥，然后调用【获取订阅号令牌】拿到该订阅号的使用权限（access_token）；<br></p><p style="margin-left: 40px;">然后根据自身需要实现发送不同的消息类型（每次在调用接口是均需要将令牌放入到header中，否则无法识别身份而导致无法发送）；<br></p></blockquote><p style="margin-left: 40px;"><i>注：如需要发送图文消息并点击图文实现单点跳转的，需要在发送消息时的访问地址内加上注入令牌的地方；</i></p><p style="margin-left: 40px;"><i>假如推送的URL访问地址是 <a href="http://hjy.smartdot.com/content?id=123321" rel="nofollow">http://hjy.smartdot.com/content?id=123321</a> ，那么在集成的时候，要根据自身接收参数的需要在其URL加入令牌注入参数，从而形成新的URL ：<a href="http://hjy.smartdot.com/content?id=123321&amp;access_token=%access_token%" rel="nofollow">http://hjy.smartdot.com/content?id=123321&amp;access_token=%access_token%</a> ，而推送的URL应发送新的URL地址才能保证推送的URL能实现单点数据的接收（单点的过程需要第三方接收到身份令牌后调用身份验证接口获取合法身份信息）；</i></p><p style="margin-left: 40px;"><i></i><br></p><p><br></p><p><br></p><p><b>轻应用集成：</b></p><p style="margin-left: 40px;">&nbsp;轻应用（H5）集成是嵌入方式，是为将开发好的轻应用引入到慧家园中并实现从慧家园直接进入轻应用中而不需要在进行二次登录，实现门户入口；在整个集成过程如下：</p><blockquote><p style="margin-left: 40px;">&nbsp;首先准备轻应用的入口地址并提交到管理人员，有管理人员为其加入到系统域并授权使用范围（可使用的人员），在配置入口地址的时候，需要在入口地址上配好客户端注入身份令牌（access_token)的地方，例如：&nbsp;&nbsp;</p><p style="margin-left: 80px;">1、我轻应用的入口地址为 <a href="http://www.smartdot.com/auth">http://www.smartdot.com/auth</a> ，那么提交到慧家园中的则为 <a href="http://www.smartdot.com/auth?access_token=%access_token%">http://www.smartdot.com/auth?access_token=%access_token%</a> ，轻应用接收access_token参数并进行令牌身份确认等后续操作；&nbsp;&nbsp;</p><p style="margin-left: 80px;">&nbsp;2、请用接收到的access_token是经过 encode 后的（防止第三方应用接收时出现特殊符号乱码），所以在后续使用时需要先将其decoder再使用；&nbsp;</p><p style="margin-left: 40px;">&nbsp;然后调用<a href="https://console.apipost.cn/doc/6867?du_id=0#224660" target="_self">身份令牌确认接口</a>来验证令牌的合法性和令牌的持有人从而实现轻应用的接入与单点。 &nbsp;</p></blockquote>                            </div>
                                            </section>
                </div>
            </div>
            	      	                        	    	<div class="page-wrapper hide" tabindex="224660" role="main">
	        	<div class="page-inner">
	          		<section class="markdown-section">
	            		<h1 class="api-name-class"><i class="fa fa-link" aria-hidden="true"></i>获取令牌身份信息（access_token验证）接口 <button  type="button" data-href="https://www.apipost.cn/client.php?project_id=6867&apiid=224660" class="btn btn-gray api-test-send-btn"  data-clipboard-text="{&quot;apiid&quot;:&quot;224660&quot;,&quot;name&quot;:&quot;获取令牌身份信息（access_token验证）接口&quot;,&quot;url&quot;:&quot;https:\/\/m-platform.smartdot.com\/admin_api\/api\/org\/orguser_current_userinfo&quot;,&quot;method&quot;:&quot;POST&quot;,&quot;mark&quot;:&quot;complated&quot;,&quot;request_type&quot;:&quot;1&quot;,&quot;request_header_ischecked&quot;:&quot;1&quot;,&quot;request_query_ischecked&quot;:&quot;0&quot;,&quot;request_body_ischecked&quot;:&quot;0&quot;,&quot;auth&quot;:[],&quot;request_header&quot;:[{&quot;key&quot;:&quot;access_token&quot;,&quot;value&quot;:&quot;mtQB9Ux6ys+NYrojZ+aGU3IqrYthPmQaitRIGwTqbcmZFh0drhCjPEdAxQm7uftexpmjo2CL2hu\/KvnspVu95gictXHDYyHV&quot;,&quot;description&quot;:&quot;身份令牌&quot;,&quot;placeholder&quot;:&quot;参数值&quot;,&quot;type&quot;:&quot;Text&quot;,&quot;not_null&quot;:&quot;0&quot;,&quot;is_para_checked&quot;:&quot;1&quot;,&quot;indent&quot;:&quot;0&quot;}],&quot;request_query&quot;:[],&quot;request_body&quot;:[{&quot;description&quot;:&quot;&quot;,&quot;indent&quot;:&quot;0&quot;,&quot;key&quot;:&quot;&quot;,&quot;not_null&quot;:&quot;0&quot;,&quot;placeholder&quot;:&quot;参数描述，用于生成文档&quot;,&quot;type&quot;:&quot;Text&quot;,&quot;value&quot;:&quot;&quot;,&quot;is_para_checked&quot;:&quot;1&quot;}],&quot;request_raw_body&quot;:&quot;{\&quot;opcode\&quot;:\&quot;0\&quot;,\/\/opcode操作码，0增加、1修改、2删除\t\&quot;data\&quot;:[{\t\t\&quot;user_id\&quot;: \&quot;lisi\&quot;, \/\/帐号\t\t\&quot;true_name\&quot;: \&quot;李四\&quot;,\/\/姓名\t\t\&quot;order_num\&quot;:\&quot;11\&quot;,\/\/排序号\t\t\&quot;parent_id\&quot;:\&quot;013d987ec6af45ddafdb7b57eac457d5\&quot;, \/\/所属部门ID\t\t\&quot;mobile\&quot;:\&quot;13800000000\&quot;,\/\/手机号\t\t\&quot;landline\&quot;:\&quot;010-8629312\&quot;, \/\/座机\t\t\&quot;duty\&quot;:\&quot;专员\&quot;, \/\/职务\t\t\&quot;sex\&quot;:\&quot;男\&quot;,\/\/性别\t\t\&quot;email\&quot;:\&quot;63726371@qq.com\&quot;\/\/邮箱\t}]}&quot;}"><i class="fa fa-paper-plane-o" aria-hidden="true"></i>接口测试</button> </h1>
	            			            		<blockquote>
	            			该接口主要用于第三方接入时的身份验证 ；<br />
当第三方接入时，需要先提供一个入口地址，需要在入口地址上配置需要注入access_token的位置，当客户端点击该入口时会自动将身份标识注入进去，第三方接收到 身份令牌后调用该接口验证合法性和用户身份信息；<br />
入口地址示例：http://www.smartdot.com/auth/token?access_token=%access_token% ;<br />
终端会默认将 %access_token% 注入（为了防止编码问题，在注入的时候默认将其 encode ，第三方接收后如需要调用其它接口时需要先将其 decoder），注入后的URL示例为：<br />
http://www.smartdot.com/auth/token?access_token=mtQB9Ux6ys%2bNYrojZ%2baGU3IqrYthPmQaitRIGwTqbcmZFh0drhCjPEdAxQm7uftexpmjo2CL2hu%2fKvnspVu95gictXHDYyHV	            		</blockquote>
	            		                        	            		<h4>接口URL</h4>
	            		<code>https://m-platform.smartdot.com/admin_api/api/org/orguser_current_userinfo</code>
                        	            		<h4>请求方式</h4>
	            		<code>POST</code>
                                                                            <h4>请求 Content-Type</h4>
                            <code>multipart/form-data</code>
                                                	            		<!-- 开始 request_all_header -->
	            		
	            		<!-- 开始 request_header -->
	            			            		<div class="document-block-div request_header-div">
		            		<h4>请求自定义Header</h4>
		            		<table>
		              			<thead>
		                			<tr>
			                  			<th style="width: 28%">参数</th>
			                  			<th style="width: 30%">示例值</th>
                                        <th style="width: 7%">必填</th>
			                  			<th style="width:35%">参数描述</th>
			                  		</tr>
		              			</thead>
		              			<tbody>
		              						              						              				<tr>
			                  			<th>access_token</th>
			                  			<td>mtQB9Ux6ys+NYrojZ+aGU3IqrYthPmQaitRIGwTqbcmZFh0drhCjPEdAxQm7uftexpmjo2CL2hu/KvnspVu95gictXHDYyHV</td>
                                        <td>必填</td>
			                  			<td>身份令牌</td>
			                  		</tr>
			                  				              						              			</tbody>
		            		</table>
		            	</div>
	            		
	            		<!-- 开始 request_body -->
                        	            			            			            		<div class="document-block-div request_body-div">
		            		<h4>请求Body参数</h4>
		            		<table>
		              			<thead>
		                			<tr>
			                  			<th style="width: 28%">参数</th>
                                        <th style="width: 30%">示例值</th>
                                        <th style="width: 7%">必填</th>
			                  			<th style="width:35%">参数描述</th>
			                  		</tr>
		              			</thead>
		              			<tbody>
		              						              						              						              			</tbody>
		            		</table>
		            	</div>
	            								                        
						<!-- 开始 request_Query -->
	            		
	            		<!-- 开始 response_header -->
	            		
	            		<!-- 开始 response_cookie -->
	            		
	            		<!-- 开始 response_body -->
	            			            		<div class="document-block-div response_body-div">
		            		<h4>响应参数</h4>
		            		<table>
		              			<thead>
		                			<tr>
			                  			<th style="width: 28%">参数</th>
			                  			<th  style="width: 72%"colspan="2">参数描述</th>
			                  		</tr>
		              			</thead>
		              			<tbody>
		              						              						              				<tr>
			                  			<th style="text-indent: 0em">code</th>
			                  			<td colspan="2">状态码</td>
			                  		</tr>
			                  				              						              						              				<tr>
			                  			<th style="text-indent: 0em">userEntry</th>
			                  			<td colspan="2">用户载体（实体对象）</td>
			                  		</tr>
			                  				              						              						              				<tr>
			                  			<th style="text-indent: 1.5em">userEntry.birthday</th>
			                  			<td colspan="2">出生日期</td>
			                  		</tr>
			                  				              						              						              				<tr>
			                  			<th style="text-indent: 1.5em">userEntry.contactUser</th>
			                  			<td colspan="2">此字段在本接口内无作用</td>
			                  		</tr>
			                  				              						              						              				<tr>
			                  			<th style="text-indent: 1.5em">userEntry.domain</th>
			                  			<td colspan="2">所属域</td>
			                  		</tr>
			                  				              						              						              				<tr>
			                  			<th style="text-indent: 1.5em">userEntry.duty</th>
			                  			<td colspan="2">职位</td>
			                  		</tr>
			                  				              						              						              				<tr>
			                  			<th style="text-indent: 1.5em">userEntry.email</th>
			                  			<td colspan="2">邮箱</td>
			                  		</tr>
			                  				              						              						              				<tr>
			                  			<th style="text-indent: 1.5em">userEntry.extended_field_msg</th>
			                  			<td colspan="2">扩展字段</td>
			                  		</tr>
			                  				              						              						              				<tr>
			                  			<th style="text-indent: 1.5em">userEntry.fax</th>
			                  			<td colspan="2">传真</td>
			                  		</tr>
			                  				              						              						              				<tr>
			                  			<th style="text-indent: 1.5em">userEntry.landline</th>
			                  			<td colspan="2">座机</td>
			                  		</tr>
			                  				              						              						              				<tr>
			                  			<th style="text-indent: 1.5em">userEntry.m_desc</th>
			                  			<td colspan="2">个人签名</td>
			                  		</tr>
			                  				              						              						              				<tr>
			                  			<th style="text-indent: 1.5em">userEntry.m_id</th>
			                  			<td colspan="2">唯一ID</td>
			                  		</tr>
			                  				              						              						              				<tr>
			                  			<th style="text-indent: 1.5em">userEntry.mobile</th>
			                  			<td colspan="2">手机号</td>
			                  		</tr>
			                  				              						              						              				<tr>
			                  			<th style="text-indent: 1.5em">userEntry.order_num</th>
			                  			<td colspan="2">排序号</td>
			                  		</tr>
			                  				              						              						              				<tr>
			                  			<th style="text-indent: 1.5em">userEntry.parent_id</th>
			                  			<td colspan="2">所属部门ID</td>
			                  		</tr>
			                  				              						              						              				<tr>
			                  			<th style="text-indent: 1.5em">userEntry.parent_name</th>
			                  			<td colspan="2">所属部门名称</td>
			                  		</tr>
			                  				              						              						              				<tr>
			                  			<th style="text-indent: 1.5em">userEntry.part_time</th>
			                  			<td colspan="2">兼职部门</td>
			                  		</tr>
			                  				              						              						              				<tr>
			                  			<th style="text-indent: 1.5em">userEntry.roleId</th>
			                  			<td colspan="2">用户角色</td>
			                  		</tr>
			                  				              						              						              				<tr>
			                  			<th style="text-indent: 1.5em">userEntry.roleName</th>
			                  			<td colspan="2">角色名称</td>
			                  		</tr>
			                  				              						              						              				<tr>
			                  			<th style="text-indent: 1.5em">userEntry.sex</th>
			                  			<td colspan="2">性别</td>
			                  		</tr>
			                  				              						              						              				<tr>
			                  			<th style="text-indent: 1.5em">userEntry.station</th>
			                  			<td colspan="2">工位位置</td>
			                  		</tr>
			                  				              						              						              				<tr>
			                  			<th style="text-indent: 1.5em">userEntry.trueNamePinyin</th>
			                  			<td colspan="2">姓名拼音</td>
			                  		</tr>
			                  				              						              						              				<tr>
			                  			<th style="text-indent: 1.5em">userEntry.true_name</th>
			                  			<td colspan="2">真实姓名</td>
			                  		</tr>
			                  				              						              						              				<tr>
			                  			<th style="text-indent: 1.5em">userEntry.upVersion</th>
			                  			<td colspan="2">用户版本号</td>
			                  		</tr>
			                  				              						              						              				<tr>
			                  			<th style="text-indent: 1.5em">userEntry.user_from</th>
			                  			<td colspan="2">用户来源</td>
			                  		</tr>
			                  				              						              						              				<tr>
			                  			<th style="text-indent: 1.5em">userEntry.user_id</th>
			                  			<td colspan="2">登录帐号</td>
			                  		</tr>
			                  				              						              						              				<tr>
			                  			<th style="text-indent: 1.5em">userEntry.user_short_id</th>
			                  			<td colspan="2">短号</td>
			                  		</tr>
			                  				              						              						              				<tr>
			                  			<th style="text-indent: 1.5em">userEntry.zip</th>
			                  			<td colspan="2">分机号</td>
			                  		</tr>
			                  				              						              			</tbody>
		            		</table>
		            	</div>
	            		
	            		<!-- 开始 response_body_text_ishide -->
	            			            		<h4>成功响应示例</h4>
	            		<pre><code>{
    &quot;code&quot;: &quot;000000&quot;,
    &quot;userEntry&quot;: {
        &quot;birthday&quot;: &quot;&quot;,
        &quot;contactUser&quot;: 0,
        &quot;domain&quot;: &quot;&quot;,
        &quot;duty&quot;: &quot;产品研发经理&quot;,
        &quot;email&quot;: &quot;lils@smartdot.com&quot;,
        &quot;extended_field_msg&quot;: &quot;&quot;,
        &quot;fax&quot;: &quot;&quot;,
        &quot;landline&quot;: &quot;8093&quot;,
        &quot;m_desc&quot;: &quot;&quot;,
        &quot;m_id&quot;: &quot;lils@hdkj&quot;,
        &quot;mobile&quot;: &quot;13810808723&quot;,
        &quot;order_num&quot;: &quot;202&quot;,
        &quot;parent_id&quot;: &quot;8d6656dc42544bdabc34f9df80c3f5f1&quot;,
        &quot;parent_name&quot;: &quot;移动产品研发部&quot;,
        &quot;part_time&quot;: &quot;&quot;,
        &quot;roleId&quot;: 0,
        &quot;roleName&quot;: &quot;&quot;,
        &quot;sex&quot;: &quot;男&quot;,
        &quot;station&quot;: &quot;&quot;,
        &quot;trueNamePinyin&quot;: &quot;&quot;,
        &quot;true_name&quot;: &quot;李连顺&quot;,
        &quot;upVersion&quot;: 205,
        &quot;user_from&quot;: &quot;hdjy&quot;,
        &quot;user_id&quot;: &quot;lils@hdkj&quot;,
        &quot;user_short_id&quot;: &quot;&quot;,
        &quot;zip&quot;: &quot;&quot;
    }
}</code></pre>
	            		
	            		<!-- 开始 response_body_error_text -->
	            			            		<h4>失败响应示例</h4>
	            		<pre><code>{
    &quot;code&quot;: &quot;60x079&quot;
}</code></pre>
	            			          		</section>
	        	</div>
	      	</div>
            	      	                        	    	<div class="page-wrapper hide" tabindex="224319" role="main">
	        	<div class="page-inner">
	          		<section class="markdown-section">
	            		<h1 class="api-name-class"><i class="fa fa-link" aria-hidden="true"></i>获取订阅号操作令牌 <button  type="button" data-href="https://www.apipost.cn/client.php?project_id=6867&apiid=224319" class="btn btn-gray api-test-send-btn"  data-clipboard-text="{&quot;apiid&quot;:&quot;224319&quot;,&quot;name&quot;:&quot;获取订阅号操作令牌&quot;,&quot;url&quot;:&quot;https:\/\/m-platform.smartdot.com\/admin_api\/api\/servicenumbermsg\/getaccesstoken?service_no_id=B4w496B0E5G5P173&service_no_secret=E6bBH96jA7Wwg7Iq&quot;,&quot;method&quot;:&quot;POST&quot;,&quot;mark&quot;:&quot;complated&quot;,&quot;request_type&quot;:&quot;1&quot;,&quot;request_header_ischecked&quot;:&quot;0&quot;,&quot;request_query_ischecked&quot;:&quot;1&quot;,&quot;request_body_ischecked&quot;:&quot;0&quot;,&quot;auth&quot;:[],&quot;request_header&quot;:[],&quot;request_query&quot;:[{&quot;indent&quot;:&quot;0&quot;,&quot;key&quot;:&quot;service_no_id&quot;,&quot;value&quot;:&quot;B4w496B0E5G5P173&quot;,&quot;not_null&quot;:&quot;&quot;,&quot;placeholder&quot;:&quot;参数值&quot;,&quot;type&quot;:&quot;Text&quot;,&quot;description&quot;:&quot;订阅号ID（APPID）&quot;,&quot;isencode&quot;:&quot;0&quot;,&quot;is_para_checked&quot;:&quot;1&quot;},{&quot;indent&quot;:&quot;0&quot;,&quot;key&quot;:&quot;service_no_secret&quot;,&quot;value&quot;:&quot;E6bBH96jA7Wwg7Iq&quot;,&quot;not_null&quot;:&quot;&quot;,&quot;placeholder&quot;:&quot;参数值&quot;,&quot;type&quot;:&quot;Text&quot;,&quot;description&quot;:&quot;订阅号秘钥（Secret）&quot;,&quot;isencode&quot;:&quot;0&quot;,&quot;is_para_checked&quot;:&quot;1&quot;},{&quot;indent&quot;:&quot;0&quot;,&quot;key&quot;:&quot;&quot;,&quot;value&quot;:&quot;&quot;,&quot;not_null&quot;:&quot;0&quot;,&quot;placeholder&quot;:&quot;参数值&quot;,&quot;type&quot;:&quot;Text&quot;,&quot;description&quot;:&quot;&quot;,&quot;isencode&quot;:&quot;0&quot;,&quot;is_para_checked&quot;:&quot;0&quot;}],&quot;request_body&quot;:[{&quot;description&quot;:&quot;&quot;,&quot;indent&quot;:&quot;0&quot;,&quot;key&quot;:&quot;&quot;,&quot;not_null&quot;:&quot;0&quot;,&quot;placeholder&quot;:&quot;参数描述，用于生成文档&quot;,&quot;type&quot;:&quot;Text&quot;,&quot;value&quot;:&quot;&quot;,&quot;is_para_checked&quot;:&quot;1&quot;}],&quot;request_raw_body&quot;:&quot;&quot;}"><i class="fa fa-paper-plane-o" aria-hidden="true"></i>接口测试</button> </h1>
	            			            		<blockquote>
	            			该接口主要用于第三方订阅号推送接入时的身份验证 ；<br />
当第三方接入时，有移动平台提供给第三方一套订阅号的APPID 和 秘钥（sercret），第三方根据上述两个信息调用该接口换取令牌信息，而该令牌信息是发送订阅号消息的凭证	            		</blockquote>
	            		                        	            		<h4>接口URL</h4>
	            		<code>https://m-platform.smartdot.com/admin_api/api/servicenumbermsg/getaccesstoken?service_no_id=B4w496B0E5G5P173&amp;service_no_secret=E6bBH96jA7Wwg7Iq</code>
                        	            		<h4>请求方式</h4>
	            		<code>POST</code>
                                                                            <h4>请求 Content-Type</h4>
                            <code>multipart/form-data</code>
                                                	            		<!-- 开始 request_all_header -->
	            		
	            		<!-- 开始 request_header -->
	            		
	            		<!-- 开始 request_body -->
                        	            			            			            		<div class="document-block-div request_body-div">
		            		<h4>请求Body参数</h4>
		            		<table>
		              			<thead>
		                			<tr>
			                  			<th style="width: 28%">参数</th>
                                        <th style="width: 30%">示例值</th>
                                        <th style="width: 7%">必填</th>
			                  			<th style="width:35%">参数描述</th>
			                  		</tr>
		              			</thead>
		              			<tbody>
		              						              						              						              			</tbody>
		            		</table>
		            	</div>
	            								                        
						<!-- 开始 request_Query -->
	            			            		<div class="document-block-div request_query-div">
		            		<h4>请求Query参数</h4>
		            		<table>
		              			<thead>
		                			<tr>
			                  			<th style="width: 28%">参数</th>
                                        <th style="width: 30%">示例值</th>
                                        <th style="width: 7%">必填</th>
			                  			<th style="width:35%">参数描述</th>
			                  		</tr>
		              			</thead>
		              			<tbody>
		              						              						              				<tr>
			                  			<th>service_no_id</th>
			                  			<td>B4w496B0E5G5P173</td>
                                        <td>必填</td>
			                  			<td>订阅号ID（APPID）</td>
			                  		</tr>
			                  				              						              						              				<tr>
			                  			<th>service_no_secret</th>
			                  			<td>E6bBH96jA7Wwg7Iq</td>
                                        <td>必填</td>
			                  			<td>订阅号秘钥（Secret）</td>
			                  		</tr>
			                  				              						              						              						              			</tbody>
		            		</table>
		            	</div>
	            		
	            		<!-- 开始 response_header -->
	            		
	            		<!-- 开始 response_cookie -->
	            		
	            		<!-- 开始 response_body -->
	            			            		<div class="document-block-div response_body-div">
		            		<h4>响应参数</h4>
		            		<table>
		              			<thead>
		                			<tr>
			                  			<th style="width: 28%">参数</th>
			                  			<th  style="width: 72%"colspan="2">参数描述</th>
			                  		</tr>
		              			</thead>
		              			<tbody>
		              						              						              				<tr>
			                  			<th style="text-indent: 0em">code</th>
			                  			<td colspan="2">响应码</td>
			                  		</tr>
			                  				              						              						              				<tr>
			                  			<th style="text-indent: 0em">access_token</th>
			                  			<td colspan="2">身份token</td>
			                  		</tr>
			                  				              						              						              				<tr>
			                  			<th style="text-indent: 0em">expires_in</th>
			                  			<td colspan="2">token失效时间</td>
			                  		</tr>
			                  				              						              			</tbody>
		            		</table>
		            	</div>
	            		
	            		<!-- 开始 response_body_text_ishide -->
	            			            		<h4>成功响应示例</h4>
	            		<pre><code>{
    "code": "000000",
    "access_token": "dEvfDDVUb492q20GvplF1Cyt7jsImtQ8+JkwVdlDFZjiq7ON+nI5AoZC3jr1UPYmTVDrVEF0H7zg02gsPyajmQF56hPzfdYV8S0B+3QFuRo=",
    "expires_in": 1574848714922
}</code></pre>
	            		
	            		<!-- 开始 response_body_error_text -->
	            			            		<h4>失败响应示例</h4>
	            		<pre><code>{
    "code": "60x079"
}</code></pre>
	            			          		</section>
	        	</div>
	      	</div>
            	      	                        	    	<div class="page-wrapper hide" tabindex="196142" role="main">
	        	<div class="page-inner">
	          		<section class="markdown-section">
	            		<h1 class="api-name-class"><i class="fa fa-link" aria-hidden="true"></i>获取同步操作令牌 <button  type="button" data-href="https://www.apipost.cn/client.php?project_id=6867&apiid=196142" class="btn btn-gray api-test-send-btn"  data-clipboard-text="{&quot;apiid&quot;:&quot;196142&quot;,&quot;name&quot;:&quot;获取同步操作令牌&quot;,&quot;url&quot;:&quot;https:\/\/m-platform.smartdot.com\/admin_api\/api\/sync\/getsynctoken?system_code=javaoa_sync&system_secret=Q1nS4BG7R5mpo0fe&quot;,&quot;method&quot;:&quot;POST&quot;,&quot;mark&quot;:&quot;complated&quot;,&quot;request_type&quot;:&quot;2&quot;,&quot;request_header_ischecked&quot;:&quot;0&quot;,&quot;request_query_ischecked&quot;:&quot;1&quot;,&quot;request_body_ischecked&quot;:&quot;1&quot;,&quot;auth&quot;:[],&quot;request_header&quot;:[],&quot;request_query&quot;:[{&quot;key&quot;:&quot;system_code&quot;,&quot;value&quot;:&quot;javaoa_sync&quot;,&quot;description&quot;:&quot;同步 key&quot;,&quot;placeholder&quot;:&quot;参数值&quot;,&quot;type&quot;:&quot;Text&quot;,&quot;not_null&quot;:&quot;0&quot;,&quot;is_para_checked&quot;:&quot;1&quot;,&quot;indent&quot;:&quot;0&quot;},{&quot;key&quot;:&quot;system_secret&quot;,&quot;value&quot;:&quot;Q1nS4BG7R5mpo0fe&quot;,&quot;description&quot;:&quot;同步秘钥&quot;,&quot;placeholder&quot;:&quot;参数值&quot;,&quot;type&quot;:&quot;Text&quot;,&quot;not_null&quot;:&quot;0&quot;,&quot;is_para_checked&quot;:&quot;1&quot;,&quot;indent&quot;:&quot;0&quot;}],&quot;request_body&quot;:[{&quot;description&quot;:&quot;&quot;,&quot;indent&quot;:&quot;0&quot;,&quot;key&quot;:&quot;&quot;,&quot;not_null&quot;:&quot;0&quot;,&quot;placeholder&quot;:&quot;参数描述，用于生成文档&quot;,&quot;type&quot;:&quot;Text&quot;,&quot;value&quot;:&quot;&quot;,&quot;is_para_checked&quot;:&quot;1&quot;},{&quot;indent&quot;:&quot;0&quot;,&quot;key&quot;:&quot;&quot;,&quot;value&quot;:&quot;&quot;,&quot;not_null&quot;:&quot;&quot;,&quot;placeholder&quot;:&quot;参数值&quot;,&quot;type&quot;:&quot;Text&quot;,&quot;description&quot;:&quot;&quot;,&quot;isencode&quot;:&quot;0&quot;,&quot;is_para_checked&quot;:&quot;0&quot;}],&quot;request_raw_body&quot;:&quot;&quot;}"><i class="fa fa-paper-plane-o" aria-hidden="true"></i>接口测试</button> </h1>
	            			            		<blockquote>
	            			在使用同步前，需要先向系统人员索要用于同步的 key 和 secret （自己的key和secret不要泄漏，否则会造成当前域内的数据混乱） ，然后调用该接口获取到同步身份令牌；<br />
在获取组织域同步令牌时，会同步返回当前域组织结构的根目录ID，所有的组织结构都要以此为根节点进行操作，否则将导致同步的组织结构无法展现；	            		</blockquote>
	            		                        	            		<h4>接口URL</h4>
	            		<code>https://m-platform.smartdot.com/admin_api/api/sync/getsynctoken?system_code=javaoa_sync&amp;system_secret=Q1nS4BG7R5mpo0fe</code>
                        	            		<h4>请求方式</h4>
	            		<code>POST</code>
                                                                            <h4>请求 Content-Type</h4>
                            <code>application/x-www-form-urlencoded</code>
                                                	            		<!-- 开始 request_all_header -->
	            		
	            		<!-- 开始 request_header -->
	            		
	            		<!-- 开始 request_body -->
                        	            			            			            		<div class="document-block-div request_body-div">
		            		<h4>请求Body参数</h4>
		            		<table>
		              			<thead>
		                			<tr>
			                  			<th style="width: 28%">参数</th>
                                        <th style="width: 30%">示例值</th>
                                        <th style="width: 7%">必填</th>
			                  			<th style="width:35%">参数描述</th>
			                  		</tr>
		              			</thead>
		              			<tbody>
		              						              						              						              						              						              			</tbody>
		            		</table>
		            	</div>
	            								                        
						<!-- 开始 request_Query -->
	            			            		<div class="document-block-div request_query-div">
		            		<h4>请求Query参数</h4>
		            		<table>
		              			<thead>
		                			<tr>
			                  			<th style="width: 28%">参数</th>
                                        <th style="width: 30%">示例值</th>
                                        <th style="width: 7%">必填</th>
			                  			<th style="width:35%">参数描述</th>
			                  		</tr>
		              			</thead>
		              			<tbody>
		              						              						              				<tr>
			                  			<th>system_code</th>
			                  			<td>javaoa_sync</td>
                                        <td>必填</td>
			                  			<td>同步 key</td>
			                  		</tr>
			                  				              						              						              				<tr>
			                  			<th>system_secret</th>
			                  			<td>Q1nS4BG7R5mpo0fe</td>
                                        <td>必填</td>
			                  			<td>同步秘钥</td>
			                  		</tr>
			                  				              						              			</tbody>
		            		</table>
		            	</div>
	            		
	            		<!-- 开始 response_header -->
	            		
	            		<!-- 开始 response_cookie -->
	            		
	            		<!-- 开始 response_body -->
	            			            		<div class="document-block-div response_body-div">
		            		<h4>响应参数</h4>
		            		<table>
		              			<thead>
		                			<tr>
			                  			<th style="width: 28%">参数</th>
			                  			<th  style="width: 72%"colspan="2">参数描述</th>
			                  		</tr>
		              			</thead>
		              			<tbody>
		              						              						              				<tr>
			                  			<th style="text-indent: 0em">code</th>
			                  			<td colspan="2">状态码</td>
			                  		</tr>
			                  				              						              						              				<tr>
			                  			<th style="text-indent: 0em">access_token</th>
			                  			<td colspan="2">唯一操作token，用于同步后续身份</td>
			                  		</tr>
			                  				              						              						              				<tr>
			                  			<th style="text-indent: 0em">expires_in</th>
			                  			<td colspan="2">超时截至时间（超过该时间令牌自动失效，需要重新获取）</td>
			                  		</tr>
			                  				              						              						              				<tr>
			                  			<th style="text-indent: 0em">dept_root_dir</th>
			                  			<td colspan="2">跟节点ID</td>
			                  		</tr>
			                  				              						              			</tbody>
		            		</table>
		            	</div>
	            		
	            		<!-- 开始 response_body_text_ishide -->
	            			            		<h4>成功响应示例</h4>
	            		<pre><code>{
    &quot;code&quot;: &quot;000000&quot;,
    &quot;access_token&quot;: &quot;3f9bcc4f-3d69-49e9-8771-095659a22209&quot;,
    &quot;dept_root_dir&quot;: &quot;96a6fdfeb39a413a8579d221cab937dd&quot;,
    &quot;expires_in&quot;: 1573548087808
}</code></pre>
	            		
	            		<!-- 开始 response_body_error_text -->
	            			            		<h4>失败响应示例</h4>
	            		<pre><code>{
    &quot;code&quot;: &quot;60x079&quot;
}</code></pre>
	            			          		</section>
	        	</div>
	      	</div>
            	      	                        	    	<div class="page-wrapper hide" tabindex="224328" role="main">
	        	<div class="page-inner">
	          		<section class="markdown-section">
	            		<h1 class="api-name-class"><i class="fa fa-link" aria-hidden="true"></i>订阅号文件素材上传 <button  type="button" data-href="https://www.apipost.cn/client.php?project_id=6867&apiid=224328" class="btn btn-gray api-test-send-btn"  data-clipboard-text="{&quot;apiid&quot;:&quot;224328&quot;,&quot;name&quot;:&quot;订阅号文件素材上传&quot;,&quot;url&quot;:&quot;https:\/\/m-platform.smartdot.com\/admin_api\/api\/servicenumbermsg\/materialupload&quot;,&quot;method&quot;:&quot;POST&quot;,&quot;mark&quot;:&quot;complated&quot;,&quot;request_type&quot;:&quot;1&quot;,&quot;request_header_ischecked&quot;:&quot;1&quot;,&quot;request_query_ischecked&quot;:&quot;0&quot;,&quot;request_body_ischecked&quot;:&quot;1&quot;,&quot;auth&quot;:[],&quot;request_header&quot;:[{&quot;key&quot;:&quot;access_token&quot;,&quot;value&quot;:&quot;dEvfDDVUb492q20GvplF1Cyt7jsImtQ8+JkwVdlDFZjiq7ON+nI5AoZC3jr1UPYmTVDrVEF0H7zg02gsPyajmQF56hPzfdYV8S0B+3QFuRo=&quot;,&quot;description&quot;:&quot;身份标记&quot;,&quot;placeholder&quot;:&quot;参数值&quot;,&quot;type&quot;:&quot;Text&quot;,&quot;not_null&quot;:&quot;0&quot;,&quot;is_para_checked&quot;:&quot;1&quot;,&quot;indent&quot;:&quot;0&quot;}],&quot;request_query&quot;:[],&quot;request_body&quot;:[{&quot;key&quot;:&quot;material&quot;,&quot;value&quot;:&quot;&quot;,&quot;description&quot;:&quot;需要上传的文件（file类型）&quot;,&quot;placeholder&quot;:&quot;参数值&quot;,&quot;type&quot;:&quot;File&quot;,&quot;not_null&quot;:&quot;0&quot;,&quot;is_para_checked&quot;:&quot;1&quot;,&quot;indent&quot;:&quot;0&quot;}],&quot;request_raw_body&quot;:&quot;&quot;}"><i class="fa fa-paper-plane-o" aria-hidden="true"></i>接口测试</button> </h1>
	            			            		<blockquote>
	            			在调用消息发送时（图片消息、文件消息、图文消息），如果素材没有URL可访问地址，可调用该接口先将素材上传到家园服务器，比如：图片、语音、视频、文件等实体文件，还包括多图文这种组合的消息。上传成功后，会得到服务器返回的materialid，该materialid用来表示文件体，在发送消息时直接使用materialid即可。	            		</blockquote>
	            		                        	            		<h4>接口URL</h4>
	            		<code>https://m-platform.smartdot.com/admin_api/api/servicenumbermsg/materialupload</code>
                        	            		<h4>请求方式</h4>
	            		<code>POST</code>
                                                                            <h4>请求 Content-Type</h4>
                            <code>multipart/form-data</code>
                                                	            		<!-- 开始 request_all_header -->
	            		
	            		<!-- 开始 request_header -->
	            			            		<div class="document-block-div request_header-div">
		            		<h4>请求自定义Header</h4>
		            		<table>
		              			<thead>
		                			<tr>
			                  			<th style="width: 28%">参数</th>
			                  			<th style="width: 30%">示例值</th>
                                        <th style="width: 7%">必填</th>
			                  			<th style="width:35%">参数描述</th>
			                  		</tr>
		              			</thead>
		              			<tbody>
		              						              						              				<tr>
			                  			<th>access_token</th>
			                  			<td>dEvfDDVUb492q20GvplF1Cyt7jsImtQ8+JkwVdlDFZjiq7ON+nI5AoZC3jr1UPYmTVDrVEF0H7zg02gsPyajmQF56hPzfdYV8S0B+3QFuRo=</td>
                                        <td>必填</td>
			                  			<td>身份标记</td>
			                  		</tr>
			                  				              						              			</tbody>
		            		</table>
		            	</div>
	            		
	            		<!-- 开始 request_body -->
                        	            			            			            		<div class="document-block-div request_body-div">
		            		<h4>请求Body参数</h4>
		            		<table>
		              			<thead>
		                			<tr>
			                  			<th style="width: 28%">参数</th>
                                        <th style="width: 30%">示例值</th>
                                        <th style="width: 7%">必填</th>
			                  			<th style="width:35%">参数描述</th>
			                  		</tr>
		              			</thead>
		              			<tbody>
		              						              						              				<tr>
			                  			<th>material</th>
			                  			<td>-</td>
                                        <td>必填</td>
			                  			<td>需要上传的文件（file类型）</td>
			                  		</tr>
			                  				              						              			</tbody>
		            		</table>
		            	</div>
	            								                        
						<!-- 开始 request_Query -->
	            		
	            		<!-- 开始 response_header -->
	            		
	            		<!-- 开始 response_cookie -->
	            		
	            		<!-- 开始 response_body -->
	            			            		<div class="document-block-div response_body-div">
		            		<h4>响应参数</h4>
		            		<table>
		              			<thead>
		                			<tr>
			                  			<th style="width: 28%">参数</th>
			                  			<th  style="width: 72%"colspan="2">参数描述</th>
			                  		</tr>
		              			</thead>
		              			<tbody>
		              						              						              				<tr>
			                  			<th style="text-indent: 0em">code</th>
			                  			<td colspan="2">响应码</td>
			                  		</tr>
			                  				              						              						              				<tr>
			                  			<th style="text-indent: 0em">materialid</th>
			                  			<td colspan="2">素材ID</td>
			                  		</tr>
			                  				              						              			</tbody>
		            		</table>
		            	</div>
	            		
	            		<!-- 开始 response_body_text_ishide -->
	            			            		<h4>成功响应示例</h4>
	            		<pre><code>{
    &quot;code&quot;: &quot;000000&quot;,
    &quot;materialid&quot;: &quot;c1f8a47e-eac9-44e7-afd5-8a3e25776e01&quot;
}</code></pre>
	            		
	            		<!-- 开始 response_body_error_text -->
	            			            		<h4>失败响应示例</h4>
	            		<pre><code>{
    &quot;code&quot;: &quot;60x079&quot;
}</code></pre>
	            			          		</section>
	        	</div>
	      	</div>
            	      	                        	    	<div class="page-wrapper hide" tabindex="196527" role="main">
	        	<div class="page-inner">
	          		<section class="markdown-section">
	            		<h1 class="api-name-class"><i class="fa fa-link" aria-hidden="true"></i>同步人员（添加、修改、删除） <button  type="button" data-href="https://www.apipost.cn/client.php?project_id=6867&apiid=196527" class="btn btn-gray api-test-send-btn"  data-clipboard-text="{&quot;apiid&quot;:&quot;196527&quot;,&quot;name&quot;:&quot;同步人员（添加、修改、删除）&quot;,&quot;url&quot;:&quot;https:\/\/m-platform.smartdot.com\/admin_api\/api\/sync\/syncuser&quot;,&quot;method&quot;:&quot;POST&quot;,&quot;mark&quot;:&quot;complated&quot;,&quot;request_type&quot;:&quot;3&quot;,&quot;request_header_ischecked&quot;:&quot;1&quot;,&quot;request_query_ischecked&quot;:&quot;0&quot;,&quot;request_body_ischecked&quot;:&quot;1&quot;,&quot;auth&quot;:[],&quot;request_header&quot;:[{&quot;key&quot;:&quot;access_token&quot;,&quot;value&quot;:&quot;99b37695-469f-45c3-a603-c396a2493171&quot;,&quot;description&quot;:&quot;身份令牌&quot;,&quot;placeholder&quot;:&quot;参数值&quot;,&quot;type&quot;:&quot;Text&quot;,&quot;not_null&quot;:&quot;0&quot;,&quot;is_para_checked&quot;:&quot;1&quot;,&quot;indent&quot;:&quot;0&quot;}],&quot;request_query&quot;:[{&quot;indent&quot;:&quot;0&quot;,&quot;key&quot;:&quot;&quot;,&quot;value&quot;:&quot;orginfo&quot;,&quot;not_null&quot;:&quot;&quot;,&quot;placeholder&quot;:&quot;参数值&quot;,&quot;type&quot;:&quot;Text&quot;,&quot;description&quot;:&quot;&quot;,&quot;isencode&quot;:&quot;0&quot;,&quot;is_para_checked&quot;:&quot;0&quot;}],&quot;request_body&quot;:[{&quot;indent&quot;:&quot;0&quot;,&quot;key&quot;:&quot;orginfo&quot;,&quot;value&quot;:&quot;&quot;,&quot;not_null&quot;:&quot;&quot;,&quot;placeholder&quot;:&quot;参数值&quot;,&quot;type&quot;:&quot;Text&quot;,&quot;description&quot;:&quot;&quot;,&quot;isencode&quot;:&quot;0&quot;,&quot;is_para_checked&quot;:&quot;1&quot;},{&quot;indent&quot;:&quot;0&quot;,&quot;key&quot;:&quot;&quot;,&quot;value&quot;:&quot;&quot;,&quot;not_null&quot;:&quot;&quot;,&quot;placeholder&quot;:&quot;参数值&quot;,&quot;type&quot;:&quot;Text&quot;,&quot;description&quot;:&quot;&quot;,&quot;isencode&quot;:&quot;0&quot;,&quot;is_para_checked&quot;:&quot;0&quot;}],&quot;request_raw_body&quot;:&quot;{\&quot;opcode\&quot;:\&quot;0\&quot;,\/\/opcode操作码，0增加、1修改、2删除\t\&quot;data\&quot;:[{\t\t\&quot;user_id\&quot;: \&quot;lisi\&quot;, \/\/帐号\t\t\&quot;true_name\&quot;: \&quot;李四\&quot;,\/\/姓名\t\t\&quot;order_num\&quot;:\&quot;11\&quot;,\/\/排序号\t\t\&quot;parent_id\&quot;:\&quot;013d987ec6af45ddafdb7b57eac457d5\&quot;, \/\/所属部门ID\t\t\&quot;mobile\&quot;:\&quot;13800000000\&quot;,\/\/手机号\t\t\&quot;landline\&quot;:\&quot;010-8629312\&quot;, \/\/座机\t\t\&quot;duty\&quot;:\&quot;专员\&quot;, \/\/职务\t\t\&quot;sex\&quot;:\&quot;男\&quot;,\/\/性别\t\t\&quot;email\&quot;:\&quot;63726371@qq.com\&quot;\/\/邮箱\t}]}&quot;}"><i class="fa fa-paper-plane-o" aria-hidden="true"></i>接口测试</button> </h1>
	            			            		<blockquote>
	            			同步人员操作，根据操作标记操作，本接口暂不做业务处理（接收什么数据处理什么数据）<br />
批量数据操作中，当有一条出现问题那么整个批量均会回滚，避免数据错乱	            		</blockquote>
	            		                        	            		<h4>接口URL</h4>
	            		<code>https://m-platform.smartdot.com/admin_api/api/sync/syncuser</code>
                        	            		<h4>请求方式</h4>
	            		<code>POST</code>
                                                                            <h4>请求 Content-Type</h4>
                            <code>application/json</code>
                                                	            		<!-- 开始 request_all_header -->
	            		
	            		<!-- 开始 request_header -->
	            			            		<div class="document-block-div request_header-div">
		            		<h4>请求自定义Header</h4>
		            		<table>
		              			<thead>
		                			<tr>
			                  			<th style="width: 28%">参数</th>
			                  			<th style="width: 30%">示例值</th>
                                        <th style="width: 7%">必填</th>
			                  			<th style="width:35%">参数描述</th>
			                  		</tr>
		              			</thead>
		              			<tbody>
		              						              						              				<tr>
			                  			<th>access_token</th>
			                  			<td>99b37695-469f-45c3-a603-c396a2493171</td>
                                        <td>必填</td>
			                  			<td>身份令牌</td>
			                  		</tr>
			                  				              						              			</tbody>
		            		</table>
		            	</div>
	            		
	            		<!-- 开始 request_body -->
                        	            			            		<h4>请求Body参数</h4>
                         	            		<pre class="language-javascript"><code class="lang-json">{&quot;opcode&quot;:&quot;0&quot;,//opcode操作码，0增加、1修改、2删除
	&quot;data&quot;:[{
		&quot;user_id&quot;: &quot;lisi&quot;, //帐号
		&quot;true_name&quot;: &quot;李四&quot;,//姓名
		&quot;order_num&quot;:&quot;11&quot;,//排序号
		&quot;parent_id&quot;:&quot;013d987ec6af45ddafdb7b57eac457d5&quot;, //所属部门ID
		&quot;mobile&quot;:&quot;13800000000&quot;,//手机号
		&quot;landline&quot;:&quot;010-8629312&quot;, //座机
		&quot;duty&quot;:&quot;专员&quot;, //职务
		&quot;sex&quot;:&quot;男&quot;,//性别
		&quot;email&quot;:&quot;63726371@qq.com&quot;//邮箱
	}]
}</code></pre>
                        	            			            		<blockquote>opcode：操作码   ---  0增加、1修改、2删除<br />
user_id ：帐号<br />
true_name ：姓名<br />
order_num ：排序号<br />
parent_id ：所属部门ID<br />
mobile ：手机号<br />
landline ：座机<br />
duty ：职务<br />
sex ：性别<br />
email ：邮箱</blockquote>
	            			            		                        
						<!-- 开始 request_Query -->
	            			            		<div class="document-block-div request_query-div">
		            		<h4>请求Query参数</h4>
		            		<table>
		              			<thead>
		                			<tr>
			                  			<th style="width: 28%">参数</th>
                                        <th style="width: 30%">示例值</th>
                                        <th style="width: 7%">必填</th>
			                  			<th style="width:35%">参数描述</th>
			                  		</tr>
		              			</thead>
		              			<tbody>
		              						              						              						              			</tbody>
		            		</table>
		            	</div>
	            		
	            		<!-- 开始 response_header -->
	            		
	            		<!-- 开始 response_cookie -->
	            		
	            		<!-- 开始 response_body -->
	            			            		<div class="document-block-div response_body-div">
		            		<h4>响应参数</h4>
		            		<table>
		              			<thead>
		                			<tr>
			                  			<th style="width: 28%">参数</th>
			                  			<th  style="width: 72%"colspan="2">参数描述</th>
			                  		</tr>
		              			</thead>
		              			<tbody>
		              						              						              				<tr>
			                  			<th style="text-indent: 0em">msg</th>
			                  			<td colspan="2">失败的错误信息</td>
			                  		</tr>
			                  				              						              						              				<tr>
			                  			<th style="text-indent: 0em">code</th>
			                  			<td colspan="2">状态码</td>
			                  		</tr>
			                  				              						              			</tbody>
		            		</table>
		            	</div>
	            		
	            		<!-- 开始 response_body_text_ishide -->
	            			            		<h4>成功响应示例</h4>
	            		<pre><code>{
    &quot;msg&quot;: &quot;add success&quot;,
    &quot;code&quot;: &quot;000000&quot;
}</code></pre>
	            		
	            		<!-- 开始 response_body_error_text -->
	            			            		<h4>失败响应示例</h4>
	            		<pre><code>{
    &quot;code&quot;: &quot;60x079&quot;
}</code></pre>
	            			          		</section>
	        	</div>
	      	</div>
            	      	                        	    	<div class="page-wrapper hide" tabindex="224656" role="main">
	        	<div class="page-inner">
	          		<section class="markdown-section">
	            		<h1 class="api-name-class"><i class="fa fa-link" aria-hidden="true"></i>订阅号推送图片消息 <button  type="button" data-href="https://www.apipost.cn/client.php?project_id=6867&apiid=224656" class="btn btn-gray api-test-send-btn"  data-clipboard-text="{&quot;apiid&quot;:&quot;224656&quot;,&quot;name&quot;:&quot;订阅号推送图片消息&quot;,&quot;url&quot;:&quot;https:\/\/m-platform.smartdot.com\/admin_api\/api\/servicenumbermsg\/sendimagemsg?receiver=xiely@hdkj&msg_img_url=a4acbb5c-cbba-4dd3-8a8b-ca4f9b1939b6&msg_img_name=a4acbb5c-cbba-4dd3-8a8b-ca4f9b1939b6.png&msg_only_id=1111111111122222222&quot;,&quot;method&quot;:&quot;POST&quot;,&quot;mark&quot;:&quot;complated&quot;,&quot;request_type&quot;:&quot;1&quot;,&quot;request_header_ischecked&quot;:&quot;1&quot;,&quot;request_query_ischecked&quot;:&quot;1&quot;,&quot;request_body_ischecked&quot;:&quot;0&quot;,&quot;auth&quot;:[],&quot;request_header&quot;:[{&quot;key&quot;:&quot;access_token&quot;,&quot;value&quot;:&quot;JXwR24OU4x27O3h1IANmuQXO2NPOIvU8R9zB+vINF5IDFg+D8syHkzAVRCHu6IatcqFR88OTB42q\/AdO19ah2gR4XljZYcuM0kElv8PWwRU=&quot;,&quot;description&quot;:&quot;订阅号身份令牌&quot;,&quot;placeholder&quot;:&quot;参数值&quot;,&quot;type&quot;:&quot;Text&quot;,&quot;not_null&quot;:&quot;0&quot;,&quot;is_para_checked&quot;:&quot;1&quot;,&quot;indent&quot;:&quot;0&quot;}],&quot;request_query&quot;:[{&quot;key&quot;:&quot;receiver&quot;,&quot;value&quot;:&quot;xiely@hdkj&quot;,&quot;description&quot;:&quot;消息接收人，多个以逗号分割&quot;,&quot;placeholder&quot;:&quot;参数值&quot;,&quot;type&quot;:&quot;Text&quot;,&quot;not_null&quot;:&quot;0&quot;,&quot;is_para_checked&quot;:&quot;1&quot;,&quot;indent&quot;:&quot;0&quot;},{&quot;key&quot;:&quot;msg_img_url&quot;,&quot;value&quot;:&quot;a4acbb5c-cbba-4dd3-8a8b-ca4f9b1939b6&quot;,&quot;description&quot;:&quot;图片素材ID 或 图片url地址&quot;,&quot;placeholder&quot;:&quot;参数值&quot;,&quot;type&quot;:&quot;Text&quot;,&quot;not_null&quot;:&quot;0&quot;,&quot;is_para_checked&quot;:&quot;1&quot;,&quot;indent&quot;:&quot;0&quot;},{&quot;key&quot;:&quot;msg_img_name&quot;,&quot;value&quot;:&quot;a4acbb5c-cbba-4dd3-8a8b-ca4f9b1939b6.png&quot;,&quot;description&quot;:&quot;图片显示名称（带有图片格式）&quot;,&quot;placeholder&quot;:&quot;参数值&quot;,&quot;type&quot;:&quot;Text&quot;,&quot;not_null&quot;:&quot;0&quot;,&quot;is_para_checked&quot;:&quot;1&quot;,&quot;indent&quot;:&quot;0&quot;},{&quot;key&quot;:&quot;msg_only_id&quot;,&quot;value&quot;:&quot;1111111111122222222&quot;,&quot;description&quot;:&quot;发送方图片的唯一标记（作为后续的撤回使用，暂可为空）&quot;,&quot;placeholder&quot;:&quot;参数值&quot;,&quot;type&quot;:&quot;Text&quot;,&quot;not_null&quot;:&quot;0&quot;,&quot;is_para_checked&quot;:&quot;1&quot;,&quot;indent&quot;:&quot;0&quot;}],&quot;request_body&quot;:[{&quot;description&quot;:&quot;&quot;,&quot;indent&quot;:&quot;0&quot;,&quot;key&quot;:&quot;&quot;,&quot;not_null&quot;:&quot;0&quot;,&quot;placeholder&quot;:&quot;参数描述，用于生成文档&quot;,&quot;type&quot;:&quot;Text&quot;,&quot;value&quot;:&quot;&quot;,&quot;is_para_checked&quot;:&quot;1&quot;}],&quot;request_raw_body&quot;:&quot;{\t\&quot;receiver\&quot;: \&quot;wangyb@hdkj\&quot;,\t\&quot;msg_info\&quot;: {\t\t\&quot;msg_title\&quot;: \&quot;测试数据，收到请忽落\&quot;,\t\t\&quot;msg_content\&quot;: \&quot;您有一个报销单未审批，请及时处理，谢谢！-没有传图片\&quot;,\t\t\&quot;msg_only_id\&quot;:\&quot;28727347883829281273\&quot;,\/\/19-11-18日新增参数（版本往上兼容），为以ID\t\t\&quot;msg_img\&quot;: \&quot;\&quot;,\t\t\&quot;msg_schedule\&quot;:\&quot;\&quot;,\/\/预留扩展字段\t\t\&quot;msg_ios_url\&quot;: \&quot;http:\/\/172.20.90.197:8088\/lapp_www?access_token=%access_token%\&quot;,\t\t\&quot;msg_android_url\&quot;: \&quot;http:\/\/172.20.90.197:8088\/lapp_www?access_token=%access_token%\&quot;,\t\t\&quot;msg_pc_url\&quot;: \&quot;http:\/\/172.20.90.197:8088\/lapp_www?access_token=%access_token%\&quot;,\t\t\&quot;msg_open_way\&quot;:\&quot;0\&quot;,\/\/默认打开方式，0为不全屏，1为全屏\t\t\&quot;msg_system_back\&quot;:\&quot;0\&quot;,\/\/是否使用系统返回，1为使用系统返回，0为不使用系统返回，当为0时点击系统返回键出发lite_app_system_back_js事件\t\t\&quot;msg_system_back_js\&quot;:\&quot;rewrite_back()\&quot;\t}}&quot;}"><i class="fa fa-paper-plane-o" aria-hidden="true"></i>接口测试</button> </h1>
	            			            		<blockquote>
	            			调用该接口可以往订阅号内发送【图片消息】<br />
<br />
在发送文件时，可以直接选择发送文件的可访问地址，也可以调用文件素材上传接口现将文件传输到服务器上，发送时只需要标注素材实体身份（素材ID）即可。	            		</blockquote>
	            		                        	            		<h4>接口URL</h4>
	            		<code>https://m-platform.smartdot.com/admin_api/api/servicenumbermsg/sendimagemsg?receiver=xiely@hdkj&amp;msg_img_url=a4acbb5c-cbba-4dd3-8a8b-ca4f9b1939b6&amp;msg_img_name=a4acbb5c-cbba-4dd3-8a8b-ca4f9b1939b6.png&amp;msg_only_id=1111111111122222222</code>
                        	            		<h4>请求方式</h4>
	            		<code>POST</code>
                                                                            <h4>请求 Content-Type</h4>
                            <code>multipart/form-data</code>
                                                	            		<!-- 开始 request_all_header -->
	            		
	            		<!-- 开始 request_header -->
	            			            		<div class="document-block-div request_header-div">
		            		<h4>请求自定义Header</h4>
		            		<table>
		              			<thead>
		                			<tr>
			                  			<th style="width: 28%">参数</th>
			                  			<th style="width: 30%">示例值</th>
                                        <th style="width: 7%">必填</th>
			                  			<th style="width:35%">参数描述</th>
			                  		</tr>
		              			</thead>
		              			<tbody>
		              						              						              				<tr>
			                  			<th>access_token</th>
			                  			<td>JXwR24OU4x27O3h1IANmuQXO2NPOIvU8R9zB+vINF5IDFg+D8syHkzAVRCHu6IatcqFR88OTB42q/AdO19ah2gR4XljZYcuM0kElv8PWwRU=</td>
                                        <td>必填</td>
			                  			<td>订阅号身份令牌</td>
			                  		</tr>
			                  				              						              			</tbody>
		            		</table>
		            	</div>
	            		
	            		<!-- 开始 request_body -->
                        	            			            			            		<div class="document-block-div request_body-div">
		            		<h4>请求Body参数</h4>
		            		<table>
		              			<thead>
		                			<tr>
			                  			<th style="width: 28%">参数</th>
                                        <th style="width: 30%">示例值</th>
                                        <th style="width: 7%">必填</th>
			                  			<th style="width:35%">参数描述</th>
			                  		</tr>
		              			</thead>
		              			<tbody>
		              						              						              						              			</tbody>
		            		</table>
		            	</div>
	            								                        
						<!-- 开始 request_Query -->
	            			            		<div class="document-block-div request_query-div">
		            		<h4>请求Query参数</h4>
		            		<table>
		              			<thead>
		                			<tr>
			                  			<th style="width: 28%">参数</th>
                                        <th style="width: 30%">示例值</th>
                                        <th style="width: 7%">必填</th>
			                  			<th style="width:35%">参数描述</th>
			                  		</tr>
		              			</thead>
		              			<tbody>
		              						              						              				<tr>
			                  			<th>receiver</th>
			                  			<td>xiely@hdkj</td>
                                        <td>必填</td>
			                  			<td>消息接收人，多个以逗号分割</td>
			                  		</tr>
			                  				              						              						              				<tr>
			                  			<th>msg_img_url</th>
			                  			<td>a4acbb5c-cbba-4dd3-8a8b-ca4f9b1939b6</td>
                                        <td>必填</td>
			                  			<td>图片素材ID 或 图片url地址</td>
			                  		</tr>
			                  				              						              						              				<tr>
			                  			<th>msg_img_name</th>
			                  			<td>a4acbb5c-cbba-4dd3-8a8b-ca4f9b1939b6.png</td>
                                        <td>必填</td>
			                  			<td>图片显示名称（带有图片格式）</td>
			                  		</tr>
			                  				              						              						              				<tr>
			                  			<th>msg_only_id</th>
			                  			<td>1111111111122222222</td>
                                        <td>必填</td>
			                  			<td>发送方图片的唯一标记（作为后续的撤回使用，暂可为空）</td>
			                  		</tr>
			                  				              						              			</tbody>
		            		</table>
		            	</div>
	            		
	            		<!-- 开始 response_header -->
	            		
	            		<!-- 开始 response_cookie -->
	            		
	            		<!-- 开始 response_body -->
	            			            		<div class="document-block-div response_body-div">
		            		<h4>响应参数</h4>
		            		<table>
		              			<thead>
		                			<tr>
			                  			<th style="width: 28%">参数</th>
			                  			<th  style="width: 72%"colspan="2">参数描述</th>
			                  		</tr>
		              			</thead>
		              			<tbody>
		              						              						              				<tr>
			                  			<th style="text-indent: 0em">code</th>
			                  			<td colspan="2">响应码</td>
			                  		</tr>
			                  				              						              						              				<tr>
			                  			<th style="text-indent: 0em">unsubscription_user</th>
			                  			<td colspan="2">（失败的用户）未订阅账户</td>
			                  		</tr>
			                  				              						              						              				<tr>
			                  			<th style="text-indent: 0em">error_user</th>
			                  			<td colspan="2">（失败的用户）不存在的帐号</td>
			                  		</tr>
			                  				              						              			</tbody>
		            		</table>
		            	</div>
	            		
	            		<!-- 开始 response_body_text_ishide -->
	            			            		<h4>成功响应示例</h4>
	            		<pre><code>{
    &amp;amp;quot;code&amp;amp;quot;: &amp;amp;quot;000000&amp;amp;quot;,
    &amp;amp;quot;unsubscription_user&amp;amp;quot;: &amp;amp;quot;&amp;amp;quot;,
    &amp;amp;quot;error_user&amp;amp;quot;: &amp;amp;quot;&amp;amp;quot;
}</code></pre>
	            		
	            		<!-- 开始 response_body_error_text -->
	            			            		<h4>失败响应示例</h4>
	            		<pre><code>{
    &amp;amp;quot;code&amp;amp;quot;: &amp;amp;quot;60x079&amp;amp;quot;
}</code></pre>
	            			          		</section>
	        	</div>
	      	</div>
            	      	                        	    	<div class="page-wrapper hide" tabindex="196170" role="main">
	        	<div class="page-inner">
	          		<section class="markdown-section">
	            		<h1 class="api-name-class"><i class="fa fa-link" aria-hidden="true"></i>同步部门（添加、修改、删除） <button  type="button" data-href="https://www.apipost.cn/client.php?project_id=6867&apiid=196170" class="btn btn-gray api-test-send-btn"  data-clipboard-text="{&quot;apiid&quot;:&quot;196170&quot;,&quot;name&quot;:&quot;同步部门（添加、修改、删除）&quot;,&quot;url&quot;:&quot;https:\/\/m-platform.smartdot.com\/admin_api\/api\/sync\/syncdept&quot;,&quot;method&quot;:&quot;POST&quot;,&quot;mark&quot;:&quot;complated&quot;,&quot;request_type&quot;:&quot;3&quot;,&quot;request_header_ischecked&quot;:&quot;1&quot;,&quot;request_query_ischecked&quot;:&quot;0&quot;,&quot;request_body_ischecked&quot;:&quot;1&quot;,&quot;auth&quot;:[{&quot;auth_type&quot;:&quot;bearer_auth&quot;,&quot;bearer_token&quot;:&quot;&quot;}],&quot;request_header&quot;:[{&quot;key&quot;:&quot;access_token&quot;,&quot;value&quot;:&quot;0ac2c71d-10f4-46be-87d0-2a5d014469e5&quot;,&quot;description&quot;:&quot;身份令牌&quot;,&quot;placeholder&quot;:&quot;参数值&quot;,&quot;type&quot;:&quot;Text&quot;,&quot;not_null&quot;:&quot;0&quot;,&quot;is_para_checked&quot;:&quot;1&quot;,&quot;indent&quot;:&quot;0&quot;}],&quot;request_query&quot;:[{&quot;indent&quot;:&quot;0&quot;,&quot;key&quot;:&quot;&quot;,&quot;value&quot;:&quot;orginfo&quot;,&quot;not_null&quot;:&quot;&quot;,&quot;placeholder&quot;:&quot;参数值&quot;,&quot;type&quot;:&quot;Text&quot;,&quot;description&quot;:&quot;&quot;,&quot;isencode&quot;:&quot;0&quot;,&quot;is_para_checked&quot;:&quot;0&quot;}],&quot;request_body&quot;:[{&quot;indent&quot;:&quot;0&quot;,&quot;key&quot;:&quot;orginfo&quot;,&quot;value&quot;:&quot;&quot;,&quot;not_null&quot;:&quot;&quot;,&quot;placeholder&quot;:&quot;参数值&quot;,&quot;type&quot;:&quot;Text&quot;,&quot;description&quot;:&quot;&quot;,&quot;isencode&quot;:&quot;0&quot;,&quot;is_para_checked&quot;:&quot;1&quot;},{&quot;indent&quot;:&quot;0&quot;,&quot;key&quot;:&quot;&quot;,&quot;value&quot;:&quot;&quot;,&quot;not_null&quot;:&quot;&quot;,&quot;placeholder&quot;:&quot;参数值&quot;,&quot;type&quot;:&quot;Text&quot;,&quot;description&quot;:&quot;&quot;,&quot;isencode&quot;:&quot;0&quot;,&quot;is_para_checked&quot;:&quot;0&quot;}],&quot;request_raw_body&quot;:&quot;{\t\&quot;opcode\&quot;: \&quot;0\&quot;,\/\/操作码，0增加、1修改、2删除\t\&quot;data\&quot;: [\t\t{\t\t\t\&quot;dept_id\&quot;: \&quot;013d987ec6af45ddafdb7b57eac457d5\&quot;,\/\/当前部门ID\t\t\t\&quot;dept_name\&quot;: \&quot;总裁办\&quot;,\/\/当前部门ID\t\t\t\&quot;order_num\&quot;: \&quot;1\&quot;,\/\/当前部门的排序号\t\t\t\&quot;parent_id\&quot;: \&quot;96a6fdfeb39a413a8579d221cab937dd\&quot;\/\/父级部门ID，如为一级部门时父级部门从获取身份时拿取\t\t}\t]}&quot;}"><i class="fa fa-paper-plane-o" aria-hidden="true"></i>接口测试</button> </h1>
	            			            		<blockquote>
	            			同步部门操作，根据操作标记操作，本接口暂不做业务处理（接收什么数据处理什么数据）；<br />
批量数据操作中，当有一条出现问题那么整个批量均会回滚，避免数据错乱	            		</blockquote>
	            		                        	            		<h4>接口URL</h4>
	            		<code>https://m-platform.smartdot.com/admin_api/api/sync/syncdept</code>
                        	            		<h4>请求方式</h4>
	            		<code>POST</code>
                                                                            <h4>请求 Content-Type</h4>
                            <code>application/json</code>
                                                	            		<!-- 开始 request_all_header -->
	            		
	            		<!-- 开始 request_header -->
	            			            		<div class="document-block-div request_header-div">
		            		<h4>请求自定义Header</h4>
		            		<table>
		              			<thead>
		                			<tr>
			                  			<th style="width: 28%">参数</th>
			                  			<th style="width: 30%">示例值</th>
                                        <th style="width: 7%">必填</th>
			                  			<th style="width:35%">参数描述</th>
			                  		</tr>
		              			</thead>
		              			<tbody>
		              						              						              				<tr>
			                  			<th>access_token</th>
			                  			<td>0ac2c71d-10f4-46be-87d0-2a5d014469e5</td>
                                        <td>必填</td>
			                  			<td>身份令牌</td>
			                  		</tr>
			                  				              						              			</tbody>
		            		</table>
		            	</div>
	            		
	            		<!-- 开始 request_body -->
                        	            			            		<h4>请求Body参数</h4>
                         	            		<pre class="language-javascript"><code class="lang-json">{
	&quot;opcode&quot;: &quot;0&quot;,//操作码，0增加、1修改、2删除
	&quot;data&quot;: [
		{
			&quot;dept_id&quot;: &quot;013d987ec6af45ddafdb7b57eac457d5&quot;,//当前部门ID
			&quot;dept_name&quot;: &quot;总裁办&quot;,//当前部门ID
			&quot;order_num&quot;: &quot;1&quot;,//当前部门的排序号
			&quot;parent_id&quot;: &quot;96a6fdfeb39a413a8579d221cab937dd&quot;//父级部门ID，如为一级部门时父级部门从获取身份时拿取
		}
	]
}</code></pre>
                        	            			            		<blockquote>opcode：操作码，0增加、1修改、2删除<br />
dept_id：当前部门ID<br />
dept_name：当前部门ID<br />
order_num：当前部门的排序号<br />
parent_id：级部门ID，如为一级部门时父级部门从获取身份时拿取</blockquote>
	            			            		                        
						<!-- 开始 request_Query -->
	            			            		<div class="document-block-div request_query-div">
		            		<h4>请求Query参数</h4>
		            		<table>
		              			<thead>
		                			<tr>
			                  			<th style="width: 28%">参数</th>
                                        <th style="width: 30%">示例值</th>
                                        <th style="width: 7%">必填</th>
			                  			<th style="width:35%">参数描述</th>
			                  		</tr>
		              			</thead>
		              			<tbody>
		              						              						              						              			</tbody>
		            		</table>
		            	</div>
	            		
	            		<!-- 开始 response_header -->
	            		
	            		<!-- 开始 response_cookie -->
	            		
	            		<!-- 开始 response_body -->
	            			            		<div class="document-block-div response_body-div">
		            		<h4>响应参数</h4>
		            		<table>
		              			<thead>
		                			<tr>
			                  			<th style="width: 28%">参数</th>
			                  			<th  style="width: 72%"colspan="2">参数描述</th>
			                  		</tr>
		              			</thead>
		              			<tbody>
		              						              						              				<tr>
			                  			<th style="text-indent: 0em">msg</th>
			                  			<td colspan="2">失败的错误信息</td>
			                  		</tr>
			                  				              						              						              				<tr>
			                  			<th style="text-indent: 0em">code</th>
			                  			<td colspan="2">状态码</td>
			                  		</tr>
			                  				              						              			</tbody>
		            		</table>
		            	</div>
	            		
	            		<!-- 开始 response_body_text_ishide -->
	            			            		<h4>成功响应示例</h4>
	            		<pre><code>{
    &amp;quot;msg&amp;quot;: &amp;quot;add success&amp;quot;,
    &amp;quot;code&amp;quot;: &amp;quot;000000&amp;quot;
}</code></pre>
	            		
	            		<!-- 开始 response_body_error_text -->
	            			            		<h4>失败响应示例</h4>
	            		<pre><code>{
    &amp;quot;code&amp;quot;: &amp;quot;60x079&amp;quot;
}</code></pre>
	            			          		</section>
	        	</div>
	      	</div>
            	      	                        	    	<div class="page-wrapper hide" tabindex="224649" role="main">
	        	<div class="page-inner">
	          		<section class="markdown-section">
	            		<h1 class="api-name-class"><i class="fa fa-link" aria-hidden="true"></i>订阅号推送文本消息 <button  type="button" data-href="https://www.apipost.cn/client.php?project_id=6867&apiid=224649" class="btn btn-gray api-test-send-btn"  data-clipboard-text="{&quot;apiid&quot;:&quot;224649&quot;,&quot;name&quot;:&quot;订阅号推送文本消息&quot;,&quot;url&quot;:&quot;https:\/\/m-platform.smartdot.com\/admin_api\/api\/servicenumbermsg\/sendtextmsg?msg_content=你好？我不好那谁好？？&receiver=liuyun@hdkj,huwei@hdkj&msg_only_id=3322222222222221&quot;,&quot;method&quot;:&quot;POST&quot;,&quot;mark&quot;:&quot;complated&quot;,&quot;request_type&quot;:&quot;2&quot;,&quot;request_header_ischecked&quot;:&quot;1&quot;,&quot;request_query_ischecked&quot;:&quot;1&quot;,&quot;request_body_ischecked&quot;:&quot;0&quot;,&quot;auth&quot;:[],&quot;request_header&quot;:[{&quot;indent&quot;:&quot;0&quot;,&quot;key&quot;:&quot;access_token&quot;,&quot;value&quot;:&quot;ly2f0BQrRG4LUgrQilCwTSyt7jsImtQ8+JkwVdlDFZhCvMf2VmyWCQIMvQhQwwNJG0aY1BKsOtO1QT\/IQQXZie62xm9gmYx7DC7ir4o\/VMY=&quot;,&quot;not_null&quot;:&quot;&quot;,&quot;placeholder&quot;:&quot;参数值&quot;,&quot;type&quot;:&quot;Text&quot;,&quot;description&quot;:&quot;订阅号身份令牌&quot;,&quot;isencode&quot;:&quot;0&quot;,&quot;is_para_checked&quot;:&quot;1&quot;},{&quot;indent&quot;:&quot;0&quot;,&quot;key&quot;:&quot;&quot;,&quot;value&quot;:&quot;&quot;,&quot;not_null&quot;:&quot;0&quot;,&quot;placeholder&quot;:&quot;参数值&quot;,&quot;type&quot;:&quot;Text&quot;,&quot;description&quot;:&quot;&quot;,&quot;isencode&quot;:&quot;0&quot;,&quot;is_para_checked&quot;:&quot;0&quot;}],&quot;request_query&quot;:[{&quot;indent&quot;:&quot;0&quot;,&quot;key&quot;:&quot;msg_content&quot;,&quot;value&quot;:&quot;你好？\\n我不好\\n那谁好？？&quot;,&quot;not_null&quot;:&quot;&quot;,&quot;placeholder&quot;:&quot;参数值&quot;,&quot;type&quot;:&quot;Text&quot;,&quot;description&quot;:&quot;发送的消息内容&quot;,&quot;isencode&quot;:&quot;0&quot;,&quot;is_para_checked&quot;:&quot;1&quot;},{&quot;indent&quot;:&quot;0&quot;,&quot;key&quot;:&quot;receiver&quot;,&quot;value&quot;:&quot;liuyun@hdkj,huwei@hdkj&quot;,&quot;not_null&quot;:&quot;&quot;,&quot;placeholder&quot;:&quot;参数值&quot;,&quot;type&quot;:&quot;Text&quot;,&quot;description&quot;:&quot;消息接收人，多个以逗号分割&quot;,&quot;isencode&quot;:&quot;0&quot;,&quot;is_para_checked&quot;:&quot;1&quot;},{&quot;key&quot;:&quot;msg_only_id&quot;,&quot;value&quot;:&quot;3322222222222221&quot;,&quot;description&quot;:&quot;发送方图片的唯一标记（作为后续的撤回使用，暂可为空）&quot;,&quot;placeholder&quot;:&quot;参数值&quot;,&quot;type&quot;:&quot;Text&quot;,&quot;not_null&quot;:&quot;0&quot;,&quot;is_para_checked&quot;:&quot;1&quot;,&quot;indent&quot;:&quot;0&quot;}],&quot;request_body&quot;:[{&quot;description&quot;:&quot;&quot;,&quot;indent&quot;:&quot;0&quot;,&quot;key&quot;:&quot;&quot;,&quot;not_null&quot;:&quot;0&quot;,&quot;placeholder&quot;:&quot;参数描述，用于生成文档&quot;,&quot;type&quot;:&quot;Text&quot;,&quot;value&quot;:&quot;&quot;,&quot;is_para_checked&quot;:&quot;1&quot;}],&quot;request_raw_body&quot;:&quot;{\t\&quot;receiver\&quot;: \&quot;wangyb@hdkj\&quot;,\t\&quot;msg_info\&quot;: {\t\t\&quot;msg_title\&quot;: \&quot;测试数据，收到请忽落\&quot;,\t\t\&quot;msg_content\&quot;: \&quot;您有一个报销单未审批，请及时处理，谢谢！-没有传图片\&quot;,\t\t\&quot;msg_only_id\&quot;:\&quot;28727347883829281273\&quot;,\/\/19-11-18日新增参数（版本往上兼容），为以ID\t\t\&quot;msg_img\&quot;: \&quot;\&quot;,\t\t\&quot;msg_schedule\&quot;:\&quot;\&quot;,\/\/预留扩展字段\t\t\&quot;msg_ios_url\&quot;: \&quot;http:\/\/172.20.90.197:8088\/lapp_www?access_token=%access_token%\&quot;,\t\t\&quot;msg_android_url\&quot;: \&quot;http:\/\/172.20.90.197:8088\/lapp_www?access_token=%access_token%\&quot;,\t\t\&quot;msg_pc_url\&quot;: \&quot;http:\/\/172.20.90.197:8088\/lapp_www?access_token=%access_token%\&quot;,\t\t\&quot;msg_open_way\&quot;:\&quot;0\&quot;,\/\/默认打开方式，0为不全屏，1为全屏\t\t\&quot;msg_system_back\&quot;:\&quot;0\&quot;,\/\/是否使用系统返回，1为使用系统返回，0为不使用系统返回，当为0时点击系统返回键出发lite_app_system_back_js事件\t\t\&quot;msg_system_back_js\&quot;:\&quot;rewrite_back()\&quot;\t}}&quot;}"><i class="fa fa-paper-plane-o" aria-hidden="true"></i>接口测试</button> </h1>
	            			            		<blockquote>
	            			调用该接口可以往订阅号内发送【文本类型消息】，但是该文本消息不支持html标签	            		</blockquote>
	            		                        	            		<h4>接口URL</h4>
	            		<code>https://m-platform.smartdot.com/admin_api/api/servicenumbermsg/sendtextmsg?msg_content=你好？
我不好
那谁好？？&amp;receiver=liuyun@hdkj,huwei@hdkj&amp;msg_only_id=3322222222222221</code>
                        	            		<h4>请求方式</h4>
	            		<code>POST</code>
                                                                            <h4>请求 Content-Type</h4>
                            <code>application/x-www-form-urlencoded</code>
                                                	            		<!-- 开始 request_all_header -->
	            		
	            		<!-- 开始 request_header -->
	            			            		<div class="document-block-div request_header-div">
		            		<h4>请求自定义Header</h4>
		            		<table>
		              			<thead>
		                			<tr>
			                  			<th style="width: 28%">参数</th>
			                  			<th style="width: 30%">示例值</th>
                                        <th style="width: 7%">必填</th>
			                  			<th style="width:35%">参数描述</th>
			                  		</tr>
		              			</thead>
		              			<tbody>
		              						              						              				<tr>
			                  			<th>access_token</th>
			                  			<td>ly2f0BQrRG4LUgrQilCwTSyt7jsImtQ8+JkwVdlDFZhCvMf2VmyWCQIMvQhQwwNJG0aY1BKsOtO1QT/IQQXZie62xm9gmYx7DC7ir4o/VMY=</td>
                                        <td>必填</td>
			                  			<td>订阅号身份令牌</td>
			                  		</tr>
			                  				              						              						              						              			</tbody>
		            		</table>
		            	</div>
	            		
	            		<!-- 开始 request_body -->
                        	            			            			            		<div class="document-block-div request_body-div">
		            		<h4>请求Body参数</h4>
		            		<table>
		              			<thead>
		                			<tr>
			                  			<th style="width: 28%">参数</th>
                                        <th style="width: 30%">示例值</th>
                                        <th style="width: 7%">必填</th>
			                  			<th style="width:35%">参数描述</th>
			                  		</tr>
		              			</thead>
		              			<tbody>
		              						              						              						              			</tbody>
		            		</table>
		            	</div>
	            								                        
						<!-- 开始 request_Query -->
	            			            		<div class="document-block-div request_query-div">
		            		<h4>请求Query参数</h4>
		            		<table>
		              			<thead>
		                			<tr>
			                  			<th style="width: 28%">参数</th>
                                        <th style="width: 30%">示例值</th>
                                        <th style="width: 7%">必填</th>
			                  			<th style="width:35%">参数描述</th>
			                  		</tr>
		              			</thead>
		              			<tbody>
		              						              						              				<tr>
			                  			<th>msg_content</th>
			                  			<td>你好？\n我不好\n那谁好？？</td>
                                        <td>必填</td>
			                  			<td>发送的消息内容</td>
			                  		</tr>
			                  				              						              						              				<tr>
			                  			<th>receiver</th>
			                  			<td>liuyun@hdkj,huwei@hdkj</td>
                                        <td>必填</td>
			                  			<td>消息接收人，多个以逗号分割</td>
			                  		</tr>
			                  				              						              						              				<tr>
			                  			<th>msg_only_id</th>
			                  			<td>3322222222222221</td>
                                        <td>必填</td>
			                  			<td>发送方图片的唯一标记（作为后续的撤回使用，暂可为空）</td>
			                  		</tr>
			                  				              						              			</tbody>
		            		</table>
		            	</div>
	            		
	            		<!-- 开始 response_header -->
	            		
	            		<!-- 开始 response_cookie -->
	            		
	            		<!-- 开始 response_body -->
	            			            		<div class="document-block-div response_body-div">
		            		<h4>响应参数</h4>
		            		<table>
		              			<thead>
		                			<tr>
			                  			<th style="width: 28%">参数</th>
			                  			<th  style="width: 72%"colspan="2">参数描述</th>
			                  		</tr>
		              			</thead>
		              			<tbody>
		              						              						              				<tr>
			                  			<th style="text-indent: 0em">code</th>
			                  			<td colspan="2">响应码</td>
			                  		</tr>
			                  				              						              						              				<tr>
			                  			<th style="text-indent: 0em">unsubscription_user</th>
			                  			<td colspan="2">（失败的用户）未订阅账户</td>
			                  		</tr>
			                  				              						              						              				<tr>
			                  			<th style="text-indent: 0em">error_user</th>
			                  			<td colspan="2">（失败的用户）不存在的帐号</td>
			                  		</tr>
			                  				              						              			</tbody>
		            		</table>
		            	</div>
	            		
	            		<!-- 开始 response_body_text_ishide -->
	            			            		<h4>成功响应示例</h4>
	            		<pre><code>{
    &amp;quot;code&amp;quot;: &amp;quot;000000&amp;quot;,
    &amp;quot;unsubscription_user&amp;quot;: &amp;quot;&amp;quot;,
    &amp;quot;error_user&amp;quot;: &amp;quot;&amp;quot;
}</code></pre>
	            		
	            		<!-- 开始 response_body_error_text -->
	            			            		<h4>失败响应示例</h4>
	            		<pre><code>{
    &amp;quot;code&amp;quot;: &amp;quot;60x079&amp;quot;
}</code></pre>
	            			          		</section>
	        	</div>
	      	</div>
            	      	                        	    	<div class="page-wrapper hide" tabindex="224642" role="main">
	        	<div class="page-inner">
	          		<section class="markdown-section">
	            		<h1 class="api-name-class"><i class="fa fa-link" aria-hidden="true"></i>订阅号推送文件消息 <button  type="button" data-href="https://www.apipost.cn/client.php?project_id=6867&apiid=224642" class="btn btn-gray api-test-send-btn"  data-clipboard-text="{&quot;apiid&quot;:&quot;224642&quot;,&quot;name&quot;:&quot;订阅号推送文件消息&quot;,&quot;url&quot;:&quot;https:\/\/m-platform.smartdot.com\/admin_api\/api\/servicenumbermsg\/sendfilemsg?receiver=xiely@hdkj&msg_file_url=a4acbb5c-cbba-4dd3-8a8b-ca4f9b1939b6&msg_file_name=huawei.png&msg_file_size=20662&msg_only_id=123123123142323233&quot;,&quot;method&quot;:&quot;POST&quot;,&quot;mark&quot;:&quot;complated&quot;,&quot;request_type&quot;:&quot;1&quot;,&quot;request_header_ischecked&quot;:&quot;1&quot;,&quot;request_query_ischecked&quot;:&quot;1&quot;,&quot;request_body_ischecked&quot;:&quot;0&quot;,&quot;auth&quot;:[],&quot;request_header&quot;:[{&quot;key&quot;:&quot;access_token&quot;,&quot;value&quot;:&quot;JXwR24OU4x27O3h1IANmuQXO2NPOIvU8R9zB+vINF5IDFg+D8syHkzAVRCHu6IatcqFR88OTB42q\/AdO19ah2gR4XljZYcuM0kElv8PWwRU=&quot;,&quot;description&quot;:&quot;订阅号身份令牌&quot;,&quot;placeholder&quot;:&quot;参数值&quot;,&quot;type&quot;:&quot;Text&quot;,&quot;not_null&quot;:&quot;0&quot;,&quot;is_para_checked&quot;:&quot;1&quot;,&quot;indent&quot;:&quot;0&quot;}],&quot;request_query&quot;:[{&quot;key&quot;:&quot;receiver&quot;,&quot;value&quot;:&quot;xiely@hdkj&quot;,&quot;description&quot;:&quot;消息接收人，多个以逗号分割&quot;,&quot;placeholder&quot;:&quot;参数值&quot;,&quot;type&quot;:&quot;Text&quot;,&quot;not_null&quot;:&quot;0&quot;,&quot;is_para_checked&quot;:&quot;1&quot;,&quot;indent&quot;:&quot;0&quot;},{&quot;key&quot;:&quot;msg_file_url&quot;,&quot;value&quot;:&quot;a4acbb5c-cbba-4dd3-8a8b-ca4f9b1939b6&quot;,&quot;description&quot;:&quot;文件素材ID 或 文件url地址&quot;,&quot;placeholder&quot;:&quot;参数值&quot;,&quot;type&quot;:&quot;Text&quot;,&quot;not_null&quot;:&quot;0&quot;,&quot;is_para_checked&quot;:&quot;1&quot;,&quot;indent&quot;:&quot;0&quot;},{&quot;key&quot;:&quot;msg_file_name&quot;,&quot;value&quot;:&quot;huawei.png&quot;,&quot;description&quot;:&quot;文件显示名称（带有文件格式）&quot;,&quot;placeholder&quot;:&quot;参数值&quot;,&quot;type&quot;:&quot;Text&quot;,&quot;not_null&quot;:&quot;0&quot;,&quot;is_para_checked&quot;:&quot;1&quot;,&quot;indent&quot;:&quot;0&quot;},{&quot;key&quot;:&quot;msg_file_size&quot;,&quot;value&quot;:&quot;20662&quot;,&quot;description&quot;:&quot;文件大小（以字节为单位）&quot;,&quot;placeholder&quot;:&quot;参数值&quot;,&quot;type&quot;:&quot;Text&quot;,&quot;not_null&quot;:&quot;0&quot;,&quot;is_para_checked&quot;:&quot;1&quot;,&quot;indent&quot;:&quot;0&quot;},{&quot;key&quot;:&quot;msg_only_id&quot;,&quot;value&quot;:&quot;123123123142323233&quot;,&quot;description&quot;:&quot;发送方图片的唯一标记（作为后续的撤回使用，暂可为空）&quot;,&quot;placeholder&quot;:&quot;参数值&quot;,&quot;type&quot;:&quot;Text&quot;,&quot;not_null&quot;:&quot;0&quot;,&quot;is_para_checked&quot;:&quot;1&quot;,&quot;indent&quot;:&quot;0&quot;}],&quot;request_body&quot;:[{&quot;description&quot;:&quot;&quot;,&quot;indent&quot;:&quot;0&quot;,&quot;key&quot;:&quot;&quot;,&quot;not_null&quot;:&quot;0&quot;,&quot;placeholder&quot;:&quot;参数描述，用于生成文档&quot;,&quot;type&quot;:&quot;Text&quot;,&quot;value&quot;:&quot;&quot;,&quot;is_para_checked&quot;:&quot;1&quot;}],&quot;request_raw_body&quot;:&quot;{\t\&quot;receiver\&quot;: \&quot;wangyb@hdkj\&quot;,\t\&quot;msg_info\&quot;: {\t\t\&quot;msg_title\&quot;: \&quot;测试数据，收到请忽落\&quot;,\t\t\&quot;msg_content\&quot;: \&quot;您有一个报销单未审批，请及时处理，谢谢！-没有传图片\&quot;,\t\t\&quot;msg_only_id\&quot;:\&quot;28727347883829281273\&quot;,\/\/19-11-18日新增参数（版本往上兼容），为以ID\t\t\&quot;msg_img\&quot;: \&quot;\&quot;,\t\t\&quot;msg_schedule\&quot;:\&quot;\&quot;,\/\/预留扩展字段\t\t\&quot;msg_ios_url\&quot;: \&quot;http:\/\/172.20.90.197:8088\/lapp_www?access_token=%access_token%\&quot;,\t\t\&quot;msg_android_url\&quot;: \&quot;http:\/\/172.20.90.197:8088\/lapp_www?access_token=%access_token%\&quot;,\t\t\&quot;msg_pc_url\&quot;: \&quot;http:\/\/172.20.90.197:8088\/lapp_www?access_token=%access_token%\&quot;,\t\t\&quot;msg_open_way\&quot;:\&quot;0\&quot;,\/\/默认打开方式，0为不全屏，1为全屏\t\t\&quot;msg_system_back\&quot;:\&quot;0\&quot;,\/\/是否使用系统返回，1为使用系统返回，0为不使用系统返回，当为0时点击系统返回键出发lite_app_system_back_js事件\t\t\&quot;msg_system_back_js\&quot;:\&quot;rewrite_back()\&quot;\t}}&quot;}"><i class="fa fa-paper-plane-o" aria-hidden="true"></i>接口测试</button> </h1>
	            			            		<blockquote>
	            			调用该接口可以往订阅号内发送【文件类型消息】，常见文件类型均支持。<br />
<br />
在发送文件时，可以直接选择发送文件的可访问地址，也可以调用文件素材上传接口现将文件传输到服务器上，发送时只需要标注素材实体身份（素材ID）即可。	            		</blockquote>
	            		                        	            		<h4>接口URL</h4>
	            		<code>https://m-platform.smartdot.com/admin_api/api/servicenumbermsg/sendfilemsg?receiver=xiely@hdkj&amp;msg_file_url=a4acbb5c-cbba-4dd3-8a8b-ca4f9b1939b6&amp;msg_file_name=huawei.png&amp;msg_file_size=20662&amp;msg_only_id=123123123142323233</code>
                        	            		<h4>请求方式</h4>
	            		<code>POST</code>
                                                                            <h4>请求 Content-Type</h4>
                            <code>multipart/form-data</code>
                                                	            		<!-- 开始 request_all_header -->
	            		
	            		<!-- 开始 request_header -->
	            			            		<div class="document-block-div request_header-div">
		            		<h4>请求自定义Header</h4>
		            		<table>
		              			<thead>
		                			<tr>
			                  			<th style="width: 28%">参数</th>
			                  			<th style="width: 30%">示例值</th>
                                        <th style="width: 7%">必填</th>
			                  			<th style="width:35%">参数描述</th>
			                  		</tr>
		              			</thead>
		              			<tbody>
		              						              						              				<tr>
			                  			<th>access_token</th>
			                  			<td>JXwR24OU4x27O3h1IANmuQXO2NPOIvU8R9zB+vINF5IDFg+D8syHkzAVRCHu6IatcqFR88OTB42q/AdO19ah2gR4XljZYcuM0kElv8PWwRU=</td>
                                        <td>必填</td>
			                  			<td>订阅号身份令牌</td>
			                  		</tr>
			                  				              						              			</tbody>
		            		</table>
		            	</div>
	            		
	            		<!-- 开始 request_body -->
                        	            			            			            		<div class="document-block-div request_body-div">
		            		<h4>请求Body参数</h4>
		            		<table>
		              			<thead>
		                			<tr>
			                  			<th style="width: 28%">参数</th>
                                        <th style="width: 30%">示例值</th>
                                        <th style="width: 7%">必填</th>
			                  			<th style="width:35%">参数描述</th>
			                  		</tr>
		              			</thead>
		              			<tbody>
		              						              						              						              			</tbody>
		            		</table>
		            	</div>
	            								                        
						<!-- 开始 request_Query -->
	            			            		<div class="document-block-div request_query-div">
		            		<h4>请求Query参数</h4>
		            		<table>
		              			<thead>
		                			<tr>
			                  			<th style="width: 28%">参数</th>
                                        <th style="width: 30%">示例值</th>
                                        <th style="width: 7%">必填</th>
			                  			<th style="width:35%">参数描述</th>
			                  		</tr>
		              			</thead>
		              			<tbody>
		              						              						              				<tr>
			                  			<th>receiver</th>
			                  			<td>xiely@hdkj</td>
                                        <td>必填</td>
			                  			<td>消息接收人，多个以逗号分割</td>
			                  		</tr>
			                  				              						              						              				<tr>
			                  			<th>msg_file_url</th>
			                  			<td>a4acbb5c-cbba-4dd3-8a8b-ca4f9b1939b6</td>
                                        <td>必填</td>
			                  			<td>文件素材ID 或 文件url地址</td>
			                  		</tr>
			                  				              						              						              				<tr>
			                  			<th>msg_file_name</th>
			                  			<td>huawei.png</td>
                                        <td>必填</td>
			                  			<td>文件显示名称（带有文件格式）</td>
			                  		</tr>
			                  				              						              						              				<tr>
			                  			<th>msg_file_size</th>
			                  			<td>20662</td>
                                        <td>必填</td>
			                  			<td>文件大小（以字节为单位）</td>
			                  		</tr>
			                  				              						              						              				<tr>
			                  			<th>msg_only_id</th>
			                  			<td>123123123142323233</td>
                                        <td>必填</td>
			                  			<td>发送方图片的唯一标记（作为后续的撤回使用，暂可为空）</td>
			                  		</tr>
			                  				              						              			</tbody>
		            		</table>
		            	</div>
	            		
	            		<!-- 开始 response_header -->
	            		
	            		<!-- 开始 response_cookie -->
	            		
	            		<!-- 开始 response_body -->
	            			            		<div class="document-block-div response_body-div">
		            		<h4>响应参数</h4>
		            		<table>
		              			<thead>
		                			<tr>
			                  			<th style="width: 28%">参数</th>
			                  			<th  style="width: 72%"colspan="2">参数描述</th>
			                  		</tr>
		              			</thead>
		              			<tbody>
		              						              						              				<tr>
			                  			<th style="text-indent: 0em">code</th>
			                  			<td colspan="2">响应码</td>
			                  		</tr>
			                  				              						              						              				<tr>
			                  			<th style="text-indent: 0em">unsubscription_user</th>
			                  			<td colspan="2">（失败的用户）未订阅账户</td>
			                  		</tr>
			                  				              						              						              				<tr>
			                  			<th style="text-indent: 0em">error_user</th>
			                  			<td colspan="2">（失败的用户）不存在的帐号</td>
			                  		</tr>
			                  				              						              			</tbody>
		            		</table>
		            	</div>
	            		
	            		<!-- 开始 response_body_text_ishide -->
	            			            		<h4>成功响应示例</h4>
	            		<pre><code>{
    &amp;amp;quot;code&amp;amp;quot;: &amp;amp;quot;000000&amp;amp;quot;,
    &amp;amp;quot;unsubscription_user&amp;amp;quot;: &amp;amp;quot;&amp;amp;quot;,
    &amp;amp;quot;error_user&amp;amp;quot;: &amp;amp;quot;&amp;amp;quot;
}</code></pre>
	            		
	            		<!-- 开始 response_body_error_text -->
	            			            		<h4>失败响应示例</h4>
	            		<pre><code>{
    &amp;amp;quot;code&amp;amp;quot;: &amp;amp;quot;60x079&amp;amp;quot;
}</code></pre>
	            			          		</section>
	        	</div>
	      	</div>
            	      	                        	    	<div class="page-wrapper hide" tabindex="224640" role="main">
	        	<div class="page-inner">
	          		<section class="markdown-section">
	            		<h1 class="api-name-class"><i class="fa fa-link" aria-hidden="true"></i>订阅号推送单图文消息 <button  type="button" data-href="https://www.apipost.cn/client.php?project_id=6867&apiid=224640" class="btn btn-gray api-test-send-btn"  data-clipboard-text="{&quot;apiid&quot;:&quot;224640&quot;,&quot;name&quot;:&quot;订阅号推送单图文消息&quot;,&quot;url&quot;:&quot;https:\/\/m-platform.smartdot.com\/admin_api\/api\/servicenumbermsg\/sendSingleMsg&quot;,&quot;method&quot;:&quot;POST&quot;,&quot;mark&quot;:&quot;complated&quot;,&quot;request_type&quot;:&quot;3&quot;,&quot;request_header_ischecked&quot;:&quot;1&quot;,&quot;request_query_ischecked&quot;:&quot;0&quot;,&quot;request_body_ischecked&quot;:&quot;1&quot;,&quot;auth&quot;:[],&quot;request_header&quot;:[{&quot;key&quot;:&quot;access_token&quot;,&quot;value&quot;:&quot;GKZz8ZQbfTXE0amIxDTd9XIqrYthPmQaitRIGwTqbcmZFh0drhCjPAzVe6cSMUoyCmfEMkdL9KRenPEV2gA8nE5LfqhGgLlH7nGYhHkrLP0=&quot;,&quot;description&quot;:&quot;订阅号身份令牌&quot;,&quot;placeholder&quot;:&quot;参数值&quot;,&quot;type&quot;:&quot;Text&quot;,&quot;not_null&quot;:&quot;0&quot;,&quot;is_para_checked&quot;:&quot;1&quot;,&quot;indent&quot;:&quot;0&quot;}],&quot;request_query&quot;:[],&quot;request_body&quot;:[{&quot;description&quot;:&quot;&quot;,&quot;indent&quot;:&quot;0&quot;,&quot;key&quot;:&quot;&quot;,&quot;not_null&quot;:&quot;0&quot;,&quot;placeholder&quot;:&quot;参数描述，用于生成文档&quot;,&quot;type&quot;:&quot;Text&quot;,&quot;value&quot;:&quot;&quot;,&quot;is_para_checked&quot;:&quot;1&quot;}],&quot;request_raw_body&quot;:&quot;{\t\&quot;receiver\&quot;: \&quot;huwei@hdkj\&quot;,\t\&quot;msg_info\&quot;: {\t\t\&quot;msg_title\&quot;: \&quot;测试数据，收到请忽落\&quot;,\t\t\&quot;msg_content\&quot;: \&quot;您有一个报销单未审批，请及时处理，谢谢！-没有传图片\&quot;,\t\t\&quot;msg_only_id\&quot;:\&quot;3c6d55fbb2fb4316df44c595064a93260bf7d3fe\&quot;,\t\t\&quot;msg_schedule_type\&quot;:\&quot;-1\&quot;,\t\t\&quot;msg_img\&quot;: \&quot;https:\/\/pics2.baidu.com\/feed\/3c6d55fbb2fb4316df44c595064a93260bf7d3fe.jpeg\&quot;,\t\t\&quot;msg_schedule\&quot;:\&quot;\&quot;,\t\t\&quot;msg_ios_url\&quot;: \&quot;http:\/\/www.baidu.com?access_token=%access_token%\&quot;,\t\t\&quot;msg_android_url\&quot;: \&quot;http:\/\/www.baidu.com?access_token=%access_token%\&quot;,\t\t\&quot;msg_pc_url\&quot;: \&quot;http:\/\/www.baidu.com?access_token=%access_token%\&quot;,\t\t\&quot;msg_open_way\&quot;:\&quot;0\&quot;,\t\t\&quot;msg_system_back\&quot;:\&quot;0\&quot;,\t\t\&quot;msg_system_back_js\&quot;:\&quot;rewrite_back()\&quot;\t}}&quot;}"><i class="fa fa-paper-plane-o" aria-hidden="true"></i>接口测试</button> </h1>
	            			            		<blockquote>
	            			所谓图文消息，实际上一种消息的可外链的消息展示形式；<br />
可以对该消息进行封装（类似微信的腾讯新闻），图文包含 标题、链接 等基础信息，也包括了 图片、内容 等自由扩展显示的；<br />
<br />
如果通知消息URL需要核实用户身份，那么需要在URL中添加 access_token=%access_token% 参数，当客户端点击该URL时，系统会自动将 %access_token% 标识的位置注入成真实的用户身份令牌（access_token），接入方可以根据此 access_token 获取用户合法性以及真正的身份信息。	            		</blockquote>
	            		                        	            		<h4>接口URL</h4>
	            		<code>https://m-platform.smartdot.com/admin_api/api/servicenumbermsg/sendSingleMsg</code>
                        	            		<h4>请求方式</h4>
	            		<code>POST</code>
                                                                            <h4>请求 Content-Type</h4>
                            <code>application/json</code>
                                                	            		<!-- 开始 request_all_header -->
	            		
	            		<!-- 开始 request_header -->
	            			            		<div class="document-block-div request_header-div">
		            		<h4>请求自定义Header</h4>
		            		<table>
		              			<thead>
		                			<tr>
			                  			<th style="width: 28%">参数</th>
			                  			<th style="width: 30%">示例值</th>
                                        <th style="width: 7%">必填</th>
			                  			<th style="width:35%">参数描述</th>
			                  		</tr>
		              			</thead>
		              			<tbody>
		              						              						              				<tr>
			                  			<th>access_token</th>
			                  			<td>GKZz8ZQbfTXE0amIxDTd9XIqrYthPmQaitRIGwTqbcmZFh0drhCjPAzVe6cSMUoyCmfEMkdL9KRenPEV2gA8nE5LfqhGgLlH7nGYhHkrLP0=</td>
                                        <td>必填</td>
			                  			<td>订阅号身份令牌</td>
			                  		</tr>
			                  				              						              			</tbody>
		            		</table>
		            	</div>
	            		
	            		<!-- 开始 request_body -->
                        	            			            		<h4>请求Body参数</h4>
                         	            		<pre class="language-javascript"><code class="lang-json">{
	&quot;receiver&quot;: &quot;huwei@hdkj&quot;,
	&quot;msg_info&quot;: {
		&quot;msg_title&quot;: &quot;测试数据，收到请忽落&quot;,
		&quot;msg_content&quot;: &quot;您有一个报销单未审批，请及时处理，谢谢！-没有传图片&quot;,
		&quot;msg_only_id&quot;:&quot;3c6d55fbb2fb4316df44c595064a93260bf7d3fe&quot;,
		&quot;msg_schedule_type&quot;:&quot;-1&quot;,
		&quot;msg_img&quot;: &quot;https://pics2.baidu.com/feed/3c6d55fbb2fb4316df44c595064a93260bf7d3fe.jpeg&quot;,
		&quot;msg_schedule&quot;:&quot;&quot;,
		&quot;msg_ios_url&quot;: &quot;http://www.baidu.com?access_token=%access_token%&quot;,
		&quot;msg_android_url&quot;: &quot;http://www.baidu.com?access_token=%access_token%&quot;,
		&quot;msg_pc_url&quot;: &quot;http://www.baidu.com?access_token=%access_token%&quot;,
		&quot;msg_open_way&quot;:&quot;0&quot;,
		&quot;msg_system_back&quot;:&quot;0&quot;,
		&quot;msg_system_back_js&quot;:&quot;rewrite_back()&quot;
	}
}</code></pre>
                        	            			            		<blockquote>receiver ：接收人ID，多个帐号以英文逗号（,）分割<br />
msg_title ： 消息标题<br />
msg_content ：消息内容<br />
msg_only_id ：报文在推送方的唯一ID （19-11-18日新增参数，版本往上兼容），如想从手机上清除该消息需借助该字段<br />
msg_schedule_type ：计划消息状态类型，默认为 -1 （功能完善中...）<br />
msg_img ：图文消息的主题图ID或URL（可以通过素材上传获取素材ID 或 直接输入图片的URL地址）<br />
msg_schedule ：计划消息状态词 （目前该字段作为预留扩展字段，留作产品后期使用项目定制）<br />
msg_ios_url ： 消息在苹果手机上打开的URL地址<br />
msg_android_url ： 消息在安卓手机上打开的URL地址<br />
msg_pc_url ： 消息在电脑上打开的URL地址<br />
msg_open_way ： URL默认打开方式，0为默认不全屏，1为默认全屏（内置浏览器默认全屏）<br />
msg_system_back ： 是否使用系统返回键，1为使用系统返回，0为不使用系统返回，当为0时点击系统返回键触发lite_app_system_back_js内的函数<br />
msg_system_back_js ：点击系统返回键时需要调用的js函数</blockquote>
	            			            		                        
						<!-- 开始 request_Query -->
	            		
	            		<!-- 开始 response_header -->
	            		
	            		<!-- 开始 response_cookie -->
	            		
	            		<!-- 开始 response_body -->
	            			            		<div class="document-block-div response_body-div">
		            		<h4>响应参数</h4>
		            		<table>
		              			<thead>
		                			<tr>
			                  			<th style="width: 28%">参数</th>
			                  			<th  style="width: 72%"colspan="2">参数描述</th>
			                  		</tr>
		              			</thead>
		              			<tbody>
		              						              						              				<tr>
			                  			<th style="text-indent: 0em">code</th>
			                  			<td colspan="2">响应码</td>
			                  		</tr>
			                  				              						              						              				<tr>
			                  			<th style="text-indent: 0em">unsubscription_user</th>
			                  			<td colspan="2">（失败的用户）未订阅账户</td>
			                  		</tr>
			                  				              						              						              				<tr>
			                  			<th style="text-indent: 0em">error_user</th>
			                  			<td colspan="2">（失败的用户）不存在的帐号</td>
			                  		</tr>
			                  				              						              			</tbody>
		            		</table>
		            	</div>
	            		
	            		<!-- 开始 response_body_text_ishide -->
	            			            		<h4>成功响应示例</h4>
	            		<pre><code>{
    &amp;amp;quot;code&amp;amp;quot;: &amp;amp;quot;000000&amp;amp;quot;,
    &amp;amp;quot;unsubscription_user&amp;amp;quot;: &amp;amp;quot;&amp;amp;quot;,
    &amp;amp;quot;error_user&amp;amp;quot;: &amp;amp;quot;&amp;amp;quot;
}</code></pre>
	            		
	            		<!-- 开始 response_body_error_text -->
	            			            		<h4>失败响应示例</h4>
	            		<pre><code>{
    &amp;amp;quot;code&amp;amp;quot;: &amp;amp;quot;60x079&amp;amp;quot;
}</code></pre>
	            			          		</section>
	        	</div>
	      	</div>
            	      	                        	    	<div class="page-wrapper hide" tabindex="226808" role="main">
	        	<div class="page-inner">
	          		<section class="markdown-section">
	            		<h1 class="api-name-class"><i class="fa fa-link" aria-hidden="true"></i>订阅号消息状态（计划消息） <button  type="button" data-href="https://www.apipost.cn/client.php?project_id=6867&apiid=226808" class="btn btn-gray api-test-send-btn"  data-clipboard-text="{&quot;apiid&quot;:&quot;226808&quot;,&quot;name&quot;:&quot;订阅号消息状态（计划消息）&quot;,&quot;url&quot;:&quot;https:\/\/m-platform.smartdot.com\/admin_api\/api\/servicenumbermsg\/sendGraphicScheduleMsg&quot;,&quot;method&quot;:&quot;POST&quot;,&quot;mark&quot;:&quot;complated&quot;,&quot;request_type&quot;:&quot;3&quot;,&quot;request_header_ischecked&quot;:&quot;1&quot;,&quot;request_query_ischecked&quot;:&quot;0&quot;,&quot;request_body_ischecked&quot;:&quot;1&quot;,&quot;auth&quot;:[],&quot;request_header&quot;:[{&quot;key&quot;:&quot;access_token&quot;,&quot;value&quot;:&quot;GKZz8ZQbfTXE0amIxDTd9XIqrYthPmQaitRIGwTqbcmZFh0drhCjPAzVe6cSMUoyCmfEMkdL9KRenPEV2gA8nE5LfqhGgLlH7nGYhHkrLP0=&quot;,&quot;description&quot;:&quot;订阅号身份令牌&quot;,&quot;placeholder&quot;:&quot;参数值&quot;,&quot;type&quot;:&quot;Text&quot;,&quot;not_null&quot;:&quot;0&quot;,&quot;is_para_checked&quot;:&quot;1&quot;,&quot;indent&quot;:&quot;0&quot;}],&quot;request_query&quot;:[{&quot;indent&quot;:&quot;0&quot;,&quot;key&quot;:&quot;&quot;,&quot;value&quot;:&quot;&quot;,&quot;not_null&quot;:&quot;0&quot;,&quot;placeholder&quot;:&quot;参数值&quot;,&quot;type&quot;:&quot;Text&quot;,&quot;description&quot;:&quot;&quot;,&quot;isencode&quot;:&quot;0&quot;,&quot;is_para_checked&quot;:&quot;0&quot;}],&quot;request_body&quot;:[{&quot;description&quot;:&quot;&quot;,&quot;indent&quot;:&quot;0&quot;,&quot;key&quot;:&quot;&quot;,&quot;not_null&quot;:&quot;0&quot;,&quot;placeholder&quot;:&quot;参数描述，用于生成文档&quot;,&quot;type&quot;:&quot;Text&quot;,&quot;value&quot;:&quot;&quot;,&quot;is_para_checked&quot;:&quot;1&quot;}],&quot;request_raw_body&quot;:&quot;{    \&quot;receiver\&quot;: \&quot;lijq@hdkj\&quot;,    \&quot;msg_info\&quot;: {        \&quot;msg_only_id\&quot;: \&quot;3c6d55fbb2fb4316df44c595064a93260bf7d3fe\&quot;,        \&quot;msg_schedule_type\&quot;: \&quot;0\&quot;,        \&quot;msg_schedule\&quot;: \&quot;\&quot;    }}&quot;}"><i class="fa fa-paper-plane-o" aria-hidden="true"></i>接口测试</button> </h1>
	            			            		<blockquote>
	            			计划消息是为了第三方对消息状态进行变更而提供的，使用场景如下：<br />
1、如果推出去的消息是【待办】，当本条待办处理完毕可以将其改为【已办】标记  （此功能目前在扩展中，暂不支持项目使用）；<br />
2、如果推出去的消息处理完毕，为了防止在手机上显示而出现视觉误差，可以调用该接口将处理完的数据从手机上删除；	            		</blockquote>
	            		                        	            		<h4>接口URL</h4>
	            		<code>https://m-platform.smartdot.com/admin_api/api/servicenumbermsg/sendGraphicScheduleMsg</code>
                        	            		<h4>请求方式</h4>
	            		<code>POST</code>
                                                                            <h4>请求 Content-Type</h4>
                            <code>Array</code>
                                                	            		<!-- 开始 request_all_header -->
	            		
	            		<!-- 开始 request_header -->
	            			            		<div class="document-block-div request_header-div">
		            		<h4>请求自定义Header</h4>
		            		<table>
		              			<thead>
		                			<tr>
			                  			<th style="width: 28%">参数</th>
			                  			<th style="width: 30%">示例值</th>
                                        <th style="width: 7%">必填</th>
			                  			<th style="width:35%">参数描述</th>
			                  		</tr>
		              			</thead>
		              			<tbody>
		              						              						              				<tr>
			                  			<th>access_token</th>
			                  			<td>GKZz8ZQbfTXE0amIxDTd9XIqrYthPmQaitRIGwTqbcmZFh0drhCjPAzVe6cSMUoyCmfEMkdL9KRenPEV2gA8nE5LfqhGgLlH7nGYhHkrLP0=</td>
                                        <td>必填</td>
			                  			<td>订阅号身份令牌</td>
			                  		</tr>
			                  				              						              			</tbody>
		            		</table>
		            	</div>
	            		
	            		<!-- 开始 request_body -->
                        	            			            		<h4>请求Body参数</h4>
                         	            		<pre class="language-javascript"><code class="lang-json">{
    &quot;receiver&quot;: &quot;lijq@hdkj&quot;,
    &quot;msg_info&quot;: {
        &quot;msg_only_id&quot;: &quot;3c6d55fbb2fb4316df44c595064a93260bf7d3fe&quot;,
        &quot;msg_schedule_type&quot;: &quot;0&quot;,
        &quot;msg_schedule&quot;: &quot;&quot;
    }
}</code></pre>
                        	            			            		<blockquote>receiver ： 接收人，多个接收人以英文 逗号（ , ）分割；<br />
msg_only_id ：第三方报文的唯一ID（推送时的报文唯一ID），处理数据以该报文ID为依据；<br />
msg_schedule_type ：计划消息类型 （0 标识需要将该条报文数据删除 ，1 标识需要往本条数据上戳章【1的功能暂时未在产品上做】）；<br />
msg_schedule ：当 msg_schedule_type 为 1 时，本字段为戳章的内容，如【已办】，当 msg_schedule_type 为 0 时本字段没有没有用处；</blockquote>
	            			            		                        
						<!-- 开始 request_Query -->
	            			            		<div class="document-block-div request_query-div">
		            		<h4>请求Query参数</h4>
		            		<table>
		              			<thead>
		                			<tr>
			                  			<th style="width: 28%">参数</th>
                                        <th style="width: 30%">示例值</th>
                                        <th style="width: 7%">必填</th>
			                  			<th style="width:35%">参数描述</th>
			                  		</tr>
		              			</thead>
		              			<tbody>
		              						              						              						              			</tbody>
		            		</table>
		            	</div>
	            		
	            		<!-- 开始 response_header -->
	            		
	            		<!-- 开始 response_cookie -->
	            		
	            		<!-- 开始 response_body -->
	            			            		<div class="document-block-div response_body-div">
		            		<h4>响应参数</h4>
		            		<table>
		              			<thead>
		                			<tr>
			                  			<th style="width: 28%">参数</th>
			                  			<th  style="width: 72%"colspan="2">参数描述</th>
			                  		</tr>
		              			</thead>
		              			<tbody>
		              						              						              				<tr>
			                  			<th style="text-indent: 0em">code</th>
			                  			<td colspan="2">响应码</td>
			                  		</tr>
			                  				              						              						              				<tr>
			                  			<th style="text-indent: 0em">unsubscription_user</th>
			                  			<td colspan="2">（失败的用户）未订阅账户</td>
			                  		</tr>
			                  				              						              						              				<tr>
			                  			<th style="text-indent: 0em">error_user</th>
			                  			<td colspan="2">（失败的用户）不存在的帐号</td>
			                  		</tr>
			                  				              						              			</tbody>
		            		</table>
		            	</div>
	            		
	            		<!-- 开始 response_body_text_ishide -->
	            			            		<h4>成功响应示例</h4>
	            		<pre><code>{
    &amp;quot;code&amp;quot;: &amp;quot;000000&amp;quot;,
    &amp;quot;unsubscription_user&amp;quot;: &amp;quot;&amp;quot;,
    &amp;quot;error_user&amp;quot;: &amp;quot;&amp;quot;
}</code></pre>
	            		
	            		<!-- 开始 response_body_error_text -->
	            			            		<h4>失败响应示例</h4>
	            		<pre><code>{
    &amp;quot;code&amp;quot;: &amp;quot;60x079&amp;quot;
}</code></pre>
	            			          		</section>
	        	</div>
	      	</div>
            	      		      	<footer>
	      		本文档由<a href="https://www.apipost.cn/?fr=doc" target="_blank">APIPOST接口调试与管理工具</a>生成
	      	</footer>
	    </div>
	    <a href="javascript:;" class="navigation navigation-prev">
	      	<i class="fa fa-angle-left" aria-hidden="true"></i>
	    </a>
	    <a href="javascript:;" class="navigation navigation-next" style="margin-right: 17px;">
	      	<i class="fa fa-angle-right" aria-hidden="true"></i>
	    </a>
	</div>
</div>
<!-- 百度统计 -->
<script>
	var _hmt = _hmt || [];
	(function() {
	  var hm = document.createElement("script");
	  hm.src = "https://hm.baidu.com/hm.js?a046ce178828e393614822a297b8d296";
	  var s = document.getElementsByTagName("script")[0];
	  s.parentNode.insertBefore(hm, s);
	})();
</script>
<span style="display: none;"><script type="text/javascript" src="https://s23.cnzz.com/z_stat.php?id=1276797738&web_id=1276797738"></script></span>
</body>
</html>
